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
- ``Index`` now supports ``.str.get_dummies()`` which returns ``MultiIndex``, see :ref:`Creating Indicator Variables <text.indicator>` (:issue:`10008`, :issue:`10103`)
91
91
92
-
.. ipython:: python
92
+
.. ipython:: python
93
93
94
-
idx = pd.Index(['a|b', 'a|c', 'b|c'])
95
-
idx.str.get_dummies('|')
94
+
idx = pd.Index(['a|b', 'a|c', 'b|c'])
95
+
idx.str.get_dummies('|')
96
96
97
97
- ``pd.crosstab()`` has gained a ``normalize`` argument for normalizing frequency tables (:issue:`12569`). Examples in the updated docs :ref:`here <reshaping.crosstabulations>`.
98
98
@@ -164,7 +164,7 @@ Previous Behavior:
164
164
165
165
New Behavior:
166
166
167
-
.. ipython:: ipython
167
+
.. ipython:: python
168
168
169
169
df.groupby('A', as_index=True)['B'].nth(0)
170
170
df.groupby('A', as_index=False)['B'].nth(0)
@@ -216,7 +216,7 @@ API changes
216
216
217
217
- ``Period`` and ``PeriodIndex`` now raises ``IncompatibleFrequency`` error which inherits ``ValueError`` rather than raw ``ValueError`` (:issue:`12615`)
218
218
219
-
- ``Series.apply`` for category dtype now applies passed function to each ``.categories`` (not ``.codes``), and returns "category" dtype if possible (:issue:`12473`)
219
+
- ``Series.apply`` for category dtype now applies the passed function to each ``.categories`` (not ``.codes``), and returns a ``category`` dtype if possible (:issue:`12473`)
220
220
221
221
- ``read_csv`` will now raise a ``TypeError`` if ``parse_dates`` is neither a boolean, list, or dictionary (:issue:`5636`)
222
222
@@ -237,7 +237,8 @@ Using ``apply`` on resampling groupby operations (using a ``pd.TimeGrouper``) no
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
425
426
- Bug where ``loffset`` argument was not applied when calling ``resample().count()`` on a timeseries (:issue:`12725`)
426
427
- ``pd.read_excel()`` now accepts path objects (e.g. ``pathlib.Path``, ``py.path.local``) for the file path, in line with other ``read_*`` functions (:issue:`12655`)
427
-
- ``pd.read_excel()`` now accepts column names associated with keyword argument ``names``(:issue`12870`)
428
+
- ``pd.read_excel()`` now accepts column names associated with keyword argument ``names``(:issue:`12870`)
428
429
429
430
430
-
- Bug in ``fill_value`` is ignored if the argument to a binary operator is a constant (:issue`12723`)
431
+
- Bug in ``fill_value`` is ignored if the argument to a binary operator is a constant (:issue:`12723`)
0 commit comments