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:
stevedodson 2019-12-12 14:36:56 +01:00 committed by GitHub
parent 4bb73215a0
commit 5a3c73ea54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 41 additions and 29 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -74,6 +74,13 @@ Reindexing / selection / label manipulation
Series.rename Series.rename
Plotting
~~~~~~~~
.. autosummary::
:toctree: api/
Series.hist
Serialization / IO / conversion Serialization / IO / conversion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autosummary:: .. autosummary::

View File

@ -530,7 +530,8 @@ class DataFrame(NDFrame):
index_field: _id index_field: _id
is_source_field: False is_source_field: False
Mappings: Mappings:
capabilities: _source es_dtype pd_dtype searchable aggregatable capabilities:
_source es_dtype pd_dtype searchable aggregatable
AvgTicketPrice True float float64 True True AvgTicketPrice True float float64 True True
Cancelled True boolean bool True True Cancelled True boolean bool True True
Carrier True keyword object True True Carrier True keyword object True True

View File

@ -546,5 +546,5 @@ class Mappings:
def info_es(self, buf): def info_es(self, buf):
buf.write("Mappings:\n") buf.write("Mappings:\n")
buf.write(" capabilities: {0}\n".format(self._mappings_capabilities.to_string())) buf.write(" capabilities:\n{}\n".format(self._mappings_capabilities.to_string()))
buf.write(" date_fields_format: {0}\n".format(self._date_fields_format)) buf.write(" date_fields_format: {}\n".format(self._date_fields_format))