mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
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:
parent
133b227b93
commit
e8a0fbb9f3
@ -1,7 +1,7 @@
|
|||||||
elasticsearch>=7.0.5
|
elasticsearch>=7.0.5
|
||||||
pandas==0.25.1
|
pandas==0.25.3
|
||||||
matplotlib
|
matplotlib
|
||||||
pytest>=5.2.1
|
pytest>=5.2.1
|
||||||
git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master
|
git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master
|
||||||
numpydoc==0.8
|
numpydoc>=0.9.0
|
||||||
nbsphinx
|
nbsphinx
|
||||||
|
@ -70,7 +70,7 @@ except ImportError:
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
extlinks = {
|
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/'),
|
'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', '')
|
'es_api_docs': ('https://www.elastic.co/guide/en/elasticsearch/reference/current/%s.html', '')
|
||||||
}
|
}
|
||||||
|
@ -312,7 +312,7 @@ class DataFrame(NDFrame):
|
|||||||
max_rows = min_rows
|
max_rows = min_rows
|
||||||
|
|
||||||
return self.to_html(max_rows=max_rows, max_cols=max_cols,
|
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:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@ -590,7 +590,7 @@ class DataFrame(NDFrame):
|
|||||||
|
|
||||||
See Also
|
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
|
# In pandas calling 'to_string' without max_rows set, will dump ALL rows - we avoid this
|
||||||
# by limiting rows by default.
|
# by limiting rows by default.
|
||||||
@ -655,7 +655,7 @@ class DataFrame(NDFrame):
|
|||||||
|
|
||||||
See Also
|
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
|
# In pandas calling 'to_string' without max_rows set, will dump ALL rows - we avoid this
|
||||||
# by limiting rows by default.
|
# by limiting rows by default.
|
||||||
@ -826,7 +826,7 @@ class DataFrame(NDFrame):
|
|||||||
|
|
||||||
See Also
|
See Also
|
||||||
--------
|
--------
|
||||||
:pandas_api_docs:`pandas.DataFrame.to_csv` for argument details.
|
:pandas_api_docs:`pandas.DataFrame.to_csv`
|
||||||
"""
|
"""
|
||||||
kwargs = {
|
kwargs = {
|
||||||
"path_or_buf": path_or_buf,
|
"path_or_buf": path_or_buf,
|
||||||
|
@ -271,7 +271,7 @@ def read_csv(filepath_or_buffer,
|
|||||||
|
|
||||||
See Also
|
See Also
|
||||||
--------
|
--------
|
||||||
:pandas_api_docs:`pandas.read_csv` - for all parameters
|
:pandas_api_docs:`pandas.read_csv`
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
-----
|
-----
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
elasticsearch>=7.0.5
|
elasticsearch>=7.0.5
|
||||||
pandas==0.25.1
|
pandas==0.25.3
|
||||||
matplotlib
|
matplotlib
|
||||||
pytest>=5.2.1
|
pytest>=5.2.1
|
||||||
nbval
|
nbval
|
||||||
numpydoc==0.8
|
numpydoc>=0.9.0
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
elasticsearch>=7.0.5
|
elasticsearch>=7.0.5
|
||||||
pandas==0.25.1
|
pandas==0.25.3
|
||||||
matplotlib
|
matplotlib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user