You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/computation.rst
-2
Original file line number
Diff line number
Diff line change
@@ -206,8 +206,6 @@ Window Functions
206
206
functions and are now deprecated. These are replaced by using the :class:`~pandas.core.window.Rolling`, :class:`~pandas.core.window.Expanding` and :class:`~pandas.core.window.EWM`. objects and a corresponding method call.
207
207
208
208
The deprecation warning will show the new syntax, see an example :ref:`here <whatsnew_0180.window_deprecations>`
``pandas-datareader`` is a remote data access library for pandas. ``pandas.io`` from pandas < 0.17.0 is now refactored/split-off to and importable from ``pandas_datareader`` (PyPI:``pandas-datareader``). Many/most of the supported APIs have at least a documentation paragraph in the `pandas-datareader docs <https://pandas-datareader.readthedocs.io/en/latest/>`_:
149
+
``pandas-datareader`` is a remote data access library for pandas (PyPI:``pandas-datareader``).
150
+
It is based on functionality that was located in ``pandas.io.data`` and ``pandas.io.wb`` but was
151
+
split off in v0.19.
152
+
See more in the `pandas-datareader docs <https://pandas-datareader.readthedocs.io/en/latest/>`_:
Copy file name to clipboardExpand all lines: doc/source/io.rst
+3-47
Original file line number
Diff line number
Diff line change
@@ -2689,11 +2689,6 @@ of sheet names can simply be passed to ``read_excel`` with no loss in performanc
2689
2689
# equivalent using the read_excel function
2690
2690
data = read_excel('path_to_file.xls', ['Sheet1', 'Sheet2'], index_col=None, na_values=['NA'])
2691
2691
2692
-
.. versionadded:: 0.17
2693
-
2694
-
``read_excel`` can take an ``ExcelFile`` object as input
2695
-
2696
-
2697
2692
.. _io.excel.specifying_sheets:
2698
2693
2699
2694
Specifying Sheets
@@ -2754,8 +2749,6 @@ respectively.
2754
2749
Reading a ``MultiIndex``
2755
2750
++++++++++++++++++++++++
2756
2751
2757
-
.. versionadded:: 0.17
2758
-
2759
2752
``read_excel`` can read a ``MultiIndex`` index, by passing a list of columns to ``index_col``
2760
2753
and a ``MultiIndex`` column by passing a list of rows to ``header``. If either the ``index``
2761
2754
or ``columns`` have serialized level names those will be read in as well by specifying
@@ -2928,14 +2921,8 @@ one can pass an :class:`~pandas.io.excel.ExcelWriter`.
2928
2921
Writing Excel Files to Memory
2929
2922
+++++++++++++++++++++++++++++
2930
2923
2931
-
.. versionadded:: 0.17
2932
-
2933
2924
Pandas supports writing Excel files to buffer-like objects such as ``StringIO`` or
2934
-
``BytesIO`` using :class:`~pandas.io.excel.ExcelWriter`.
2935
-
2936
-
.. versionadded:: 0.17
2937
-
2938
-
Added support for Openpyxl >= 2.2
2925
+
``BytesIO`` using :class:`~pandas.io.excel.ExcelWriter`. Pandas also supports Openpyxl >= 2.2.
2939
2926
2940
2927
.. code-block:: python
2941
2928
@@ -3191,25 +3178,6 @@ both on the writing (serialization), and reading (deserialization).
3191
3178
optimizations in the io of the ``msgpack`` data. Since this is marked
3192
3179
as an EXPERIMENTAL LIBRARY, the storage format may not be stable until a future release.
3193
3180
3194
-
As a result of writing format changes and other issues:
3195
-
3196
-
+----------------------+------------------------+
3197
-
| Packed with | Can be unpacked with |
3198
-
+======================+========================+
3199
-
| pre-0.17 / Python 2 | any |
3200
-
+----------------------+------------------------+
3201
-
| pre-0.17 / Python 3 | any |
3202
-
+----------------------+------------------------+
3203
-
| 0.17 / Python 2 | - 0.17 / Python 2 |
3204
-
|| - >=0.18 / any Python |
3205
-
+----------------------+------------------------+
3206
-
| 0.17 / Python 3 | >=0.18 / any Python |
3207
-
+----------------------+------------------------+
3208
-
| 0.18 | >= 0.18 |
3209
-
+----------------------+------------------------+
3210
-
3211
-
Reading (files packed by older versions) is backward-compatibile, except for files packed with 0.17 in Python 2, in which case only they can only be unpacked in Python 2.
@@ -3287,10 +3255,6 @@ for some advanced strategies
3287
3255
If you see a subset of results being returned, upgrade to ``PyTables`` >= 3.2.
3288
3256
Stores created previously will need to be rewritten using the updated version.
3289
3257
3290
-
.. warning::
3291
-
3292
-
As of version 0.17.0, ``HDFStore`` will not drop rows that have all missing values by default. Previously, if all values (except the index) were missing, ``HDFStore`` would not write those rows to disk.
3293
-
3294
3258
.. ipython:: python
3295
3259
:suppress:
3296
3260
:okexcept:
@@ -3388,7 +3352,7 @@ similar to how ``read_csv`` and ``to_csv`` work.
3388
3352
os.remove('store_tl.h5')
3389
3353
3390
3354
3391
-
As of version 0.17.0, HDFStore will no longer drop rows that are all missing by default. This behavior can be enabled by setting ``dropna=True``.
3355
+
HDFStore will by default not drop rows that are all missing. This behavior can be changed by setting ``dropna=True``.
3392
3356
3393
3357
.. ipython:: python
3394
3358
:suppress:
@@ -3632,12 +3596,6 @@ Querying
3632
3596
Querying a Table
3633
3597
++++++++++++++++
3634
3598
3635
-
.. warning::
3636
-
3637
-
This query capabilities have changed substantially starting in ``0.13.0``.
3638
-
Queries from prior version are accepted (with a ``DeprecationWarning``) printed
3639
-
if its not string-like.
3640
-
3641
3599
``select`` and ``delete`` operations have an optional criterion that can
3642
3600
be specified to select/delete only a subset of the data. This allows one
3643
3601
to have a very large on-disk table and retrieve only a portion of the
@@ -5098,10 +5056,8 @@ whether imported ``Categorical`` variables are ordered.
5098
5056
SAS Formats
5099
5057
-----------
5100
5058
5101
-
.. versionadded:: 0.17.0
5102
-
5103
5059
The top-level function :func:`read_sas` can read (but not write) SAS
5104
-
`xport` (.XPT) and `SAS7BDAT` (.sas7bdat) format files were added in *v0.18.0*.
5060
+
`xport` (.XPT) and (since *v0.18.0*) `SAS7BDAT` (.sas7bdat) format files.
5105
5061
5106
5062
SAS files only contain two value types: ASCII text and floating point
5107
5063
values (usually 8 bytes but sometimes truncated). For xport files,
Copy file name to clipboardExpand all lines: doc/source/merging.rst
+1-5
Original file line number
Diff line number
Diff line change
@@ -550,8 +550,6 @@ standard database join operations between DataFrame objects:
550
550
merge key only appears in ``'right'`` DataFrame, and ``both`` if the
551
551
observation's merge key is found in both.
552
552
553
-
.. versionadded:: 0.17.0
554
-
555
553
- ``validate`` : string, default None.
556
554
If specified, checks if merge is of specified type.
557
555
@@ -766,9 +764,7 @@ If the user is aware of the duplicates in the right `DataFrame` but wants to ens
766
764
The merge indicator
767
765
~~~~~~~~~~~~~~~~~~~
768
766
769
-
.. versionadded:: 0.17.0
770
-
771
-
``merge`` now accepts the argument ``indicator``. If ``True``, a Categorical-type column called ``_merge`` will be added to the output object that takes on values:
767
+
``merge`` accepts the argument ``indicator``. If ``True``, a Categorical-type column called ``_merge`` will be added to the output object that takes on values:
Copy file name to clipboardExpand all lines: doc/source/visualization.rst
-2
Original file line number
Diff line number
Diff line change
@@ -129,8 +129,6 @@ For example, a bar plot can be created the following way:
129
129
@savefigbar_plot_ex.png
130
130
df.iloc[5].plot(kind='bar');
131
131
132
-
.. versionadded:: 0.17.0
133
-
134
132
You can also create these other plots using the methods ``DataFrame.plot.<kind>`` instead of providing the ``kind`` keyword argument. This makes it easier to discover plot methods and the specific arguments they use:
0 commit comments