Feature/pandas.0.25.3 (#91)

* Added example notebooks + pytest for these notebooks1

* Fixed paths

* Fixing link in docs

* Minor update for pandas 0.25.3

* Updates for pandas 0.25.3

* Fixing doc links with pandas 0.25.3 update.

* Reverting overwrite to changes to notebooks.
This commit is contained in:
stevedodson 2019-12-10 16:05:37 +01:00 committed by GitHub
parent 133b227b93
commit e8a0fbb9f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 12 deletions

View File

@ -1,7 +1,7 @@
elasticsearch>=7.0.5
pandas==0.25.1
pandas==0.25.3
matplotlib
pytest>=5.2.1
git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master
numpydoc==0.8
numpydoc>=0.9.0
nbsphinx

View File

@ -70,7 +70,7 @@ except ImportError:
'''
extlinks = {
'pandas_api_docs': ('https://pandas.pydata.org/pandas-docs/version/0.25.1/reference/api/%s.html', ''),
'pandas_api_docs': ('https://pandas.pydata.org/pandas-docs/stable/reference/api/%s.html', ''),
'pandas_user_guide': ('https://pandas.pydata.org/pandas-docs/stable/user_guide/%s.html', 'Pandas User Guide/'),
'es_api_docs': ('https://www.elastic.co/guide/en/elasticsearch/reference/current/%s.html', '')
}

View File

@ -312,7 +312,7 @@ class DataFrame(NDFrame):
max_rows = min_rows
return self.to_html(max_rows=max_rows, max_cols=max_cols,
show_dimensions=show_dimensions, notebook=True)
show_dimensions=show_dimensions, notebook=True) # set for consistency with pandas output
else:
return None
@ -590,7 +590,7 @@ class DataFrame(NDFrame):
See Also
--------
:pandas_api_docs:`pandas.DataFrame.to_html` for argument details.
:pandas_api_docs:`pandas.DataFrame.to_html`
"""
# In pandas calling 'to_string' without max_rows set, will dump ALL rows - we avoid this
# by limiting rows by default.
@ -655,7 +655,7 @@ class DataFrame(NDFrame):
See Also
--------
:pandas_api_docs:`pandas.DataFrame.to_string` for argument details.
:pandas_api_docs:`pandas.DataFrame.to_string`
"""
# In pandas calling 'to_string' without max_rows set, will dump ALL rows - we avoid this
# by limiting rows by default.
@ -826,7 +826,7 @@ class DataFrame(NDFrame):
See Also
--------
:pandas_api_docs:`pandas.DataFrame.to_csv` for argument details.
:pandas_api_docs:`pandas.DataFrame.to_csv`
"""
kwargs = {
"path_or_buf": path_or_buf,

View File

@ -271,7 +271,7 @@ def read_csv(filepath_or_buffer,
See Also
--------
:pandas_api_docs:`pandas.read_csv` - for all parameters
:pandas_api_docs:`pandas.read_csv`
Notes
-----

View File

@ -1,6 +1,6 @@
elasticsearch>=7.0.5
pandas==0.25.1
pandas==0.25.3
matplotlib
pytest>=5.2.1
nbval
numpydoc==0.8
numpydoc>=0.9.0

View File

@ -1,3 +1,3 @@
elasticsearch>=7.0.5
pandas==0.25.1
pandas==0.25.3
matplotlib

View File

@ -46,7 +46,7 @@ setup(
packages=['eland'],
install_requires=[
'elasticsearch>=7.0.5',
'pandas==0.25.1',
'pandas==0.25.3',
'matplotlib'
]
)