mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Feature/info es fix (#99)
* Resolving inconsistent __repr__ test on python 3.5 * Fixing layout for info_es + adding Series.hist doc
This commit is contained in:
parent
4bb73215a0
commit
5a3c73ea54
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -74,6 +74,13 @@ Reindexing / selection / label manipulation
|
||||
|
||||
Series.rename
|
||||
|
||||
Plotting
|
||||
~~~~~~~~
|
||||
.. autosummary::
|
||||
:toctree: api/
|
||||
|
||||
Series.hist
|
||||
|
||||
Serialization / IO / conversion
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.. autosummary::
|
||||
|
@ -530,7 +530,8 @@ class DataFrame(NDFrame):
|
||||
index_field: _id
|
||||
is_source_field: False
|
||||
Mappings:
|
||||
capabilities: _source es_dtype pd_dtype searchable aggregatable
|
||||
capabilities:
|
||||
_source es_dtype pd_dtype searchable aggregatable
|
||||
AvgTicketPrice True float float64 True True
|
||||
Cancelled True boolean bool True True
|
||||
Carrier True keyword object True True
|
||||
|
@ -546,5 +546,5 @@ class Mappings:
|
||||
|
||||
def info_es(self, buf):
|
||||
buf.write("Mappings:\n")
|
||||
buf.write(" capabilities: {0}\n".format(self._mappings_capabilities.to_string()))
|
||||
buf.write(" date_fields_format: {0}\n".format(self._date_fields_format))
|
||||
buf.write(" capabilities:\n{}\n".format(self._mappings_capabilities.to_string()))
|
||||
buf.write(" date_fields_format: {}\n".format(self._date_fields_format))
|
||||
|
Loading…
x
Reference in New Issue
Block a user