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/user_guide/reshaping.rst
-2
Original file line number
Diff line number
Diff line change
@@ -298,8 +298,6 @@ For instance,
298
298
299
299
When transforming a DataFrame using :func:`~pandas.melt`, the index will be ignored. The original index values can be kept around by setting the ``ignore_index`` parameter to ``False`` (default is ``True``). This will however duplicate them.
300
300
301
-
.. versionadded:: 1.1.0
302
-
303
301
.. ipython:: python
304
302
305
303
index = pd.MultiIndex.from_tuples([("person", "A"), ("person", "B")])
The bins of the grouping are adjusted based on the beginning of the day of the time series starting point. This works well with frequencies that are multiples of a day (like ``30D``) or that divide a day evenly (like ``90s`` or ``1min``). This can create inconsistencies with some frequencies that do not meet this criteria. To change this behavior you can specify a fixed Timestamp with the argument ``origin``.
PeriodIndex now supports partial string slicing with non-monotonic indexes.
2119
2115
2120
-
.. versionadded:: 1.1.0
2121
-
2122
2116
You can pass in dates and strings to ``Series`` and ``DataFrame`` with ``PeriodIndex``, in the same manner as ``DatetimeIndex``. For details, refer to :ref:`DatetimeIndex Partial String Indexing <timeseries.partialindexing>`.
2123
2117
2124
2118
.. ipython:: python
@@ -2491,8 +2485,6 @@ To remove time zone information, use ``tz_localize(None)`` or ``tz_convert(None)
2491
2485
Fold
2492
2486
~~~~
2493
2487
2494
-
.. versionadded:: 1.1.0
2495
-
2496
2488
For ambiguous times, pandas supports explicitly specifying the keyword-only fold argument.
2497
2489
Due to daylight saving time, one wall clock time can occur twice when shifting
2498
2490
from summer to winter time; fold describes whether the datetime-like corresponds
0 commit comments