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/basics.rst
+4-4
Original file line number
Diff line number
Diff line change
@@ -719,8 +719,6 @@ on an entire ``DataFrame`` or ``Series``, row- or column-wise, or elementwise.
719
719
Tablewise Function Application
720
720
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
721
721
722
-
.. versionadded:: 0.16.2
723
-
724
722
``DataFrames`` and ``Series`` can of course just be passed into functions.
725
723
However, if the function needs to be called in a chain, consider using the :meth:`~DataFrame.pipe` method.
726
724
Compare the following
@@ -1860,8 +1858,10 @@ dtypes
1860
1858
------
1861
1859
1862
1860
The main types stored in pandas objects are ``float``, ``int``, ``bool``,
1863
-
``datetime64[ns]`` and ``datetime64[ns, tz]`` (in >= 0.17.0), ``timedelta[ns]``, ``category`` (in >= 0.15.0), and ``object``. In addition these dtypes
1864
-
have item sizes, e.g. ``int64`` and ``int32``. See :ref:`Series with TZ <timeseries.timezone_series>` for more detail on ``datetime64[ns, tz]`` dtypes.
1861
+
``datetime64[ns]`` and ``datetime64[ns, tz]`` (in >= 0.17.0), ``timedelta[ns]``,
1862
+
``category`` and ``object``. In addition these dtypes have item sizes, e.g.
1863
+
``int64`` and ``int32``. See :ref:`Series with TZ <timeseries.timezone_series>`
1864
+
for more detail on ``datetime64[ns, tz]`` dtypes.
1865
1865
1866
1866
A convenient :attr:`~DataFrame.dtypes` attribute for DataFrames returns a Series with the data type of each column.
Copy file name to clipboardExpand all lines: doc/source/indexing.rst
-14
Original file line number
Diff line number
Diff line change
@@ -47,12 +47,6 @@ advanced indexing.
47
47
should be avoided. See :ref:`Returning a View versus Copy
48
48
<indexing.view_versus_copy>`
49
49
50
-
.. warning::
51
-
52
-
In 0.15.0 ``Index`` has internally been refactored to no longer subclass ``ndarray``
53
-
but instead subclass ``PandasObject``, similarly to the rest of the pandas objects. This should be
54
-
a transparent change with only very limited API implications (See the :ref:`Internal Refactoring <whatsnew_0150.refactoring>`)
55
-
56
50
.. warning::
57
51
58
52
Indexing on an integer-based Index with floats has been clarified in 0.18.0, for a summary of the changes, see :ref:`here <whatsnew_0180.float_indexers>`.
@@ -660,7 +654,6 @@ For getting *multiple* indexers, using ``.get_indexer``
660
654
661
655
Selecting Random Samples
662
656
------------------------
663
-
.. versionadded::0.16.1
664
657
665
658
A random selection of rows or columns from a Series, DataFrame, or Panel with the :meth:`~DataFrame.sample` method. The method will sample rows by default, and accepts a specific number of rows/columns to return, or a fraction of rows.
666
659
@@ -1510,8 +1503,6 @@ See :ref:`Advanced Indexing <advanced>` for usage of MultiIndexes.
1510
1503
ind.name ="bob"
1511
1504
ind
1512
1505
1513
-
.. versionadded:: 0.15.0
1514
-
1515
1506
``set_names``, ``set_levels``, and ``set_labels`` also take an optional
1516
1507
`level`` argument
1517
1508
@@ -1527,11 +1518,6 @@ Set operations on Index objects
1527
1518
1528
1519
.. _indexing.set_ops:
1529
1520
1530
-
.. warning::
1531
-
1532
-
In 0.15.0. the set operations ``+`` and ``-`` were deprecated in order to provide these for numeric type operations on certain
1533
-
index types. ``+`` can be replace by ``.union()`` or ``|``, and ``-`` by ``.difference()``.
1534
-
1535
1521
The two main operations are ``union (|)``, ``intersection (&)``
1536
1522
These can be directly called as instance methods or used via overloaded
1537
1523
operators. Difference is provided via the ``.difference()`` method.
0 commit comments