chunk_id large_stringlengths 36 36 | doc_type large_stringclasses 2
values | category large_stringclasses 17
values | document large_stringclasses 50
values | version_raw large_stringclasses 590
values | chunk_index int64 0 262 | text large_stringlengths 11 5.69k | file_path large_stringclasses 882
values |
|---|---|---|---|---|---|---|---|
c4566953-c490-5d1a-b981-9c572ba70c7b | changelog | pandas | pandas_whatsnew | 0.25.0 | 27 | returned if all the columns were dummy encoded, and a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") otherwise).
Providing any `SparseSeries` or `SparseDataFrame` to [`concat()`](../reference/api/pandas.concat.html#pandas.concat "pandas.concat") will
cause a `SparseSeries` or... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
a7754d9e-ca32-5120-ab84-fa7fd0f35309 | changelog | pandas | pandas_whatsnew | 0.25.0 | 28 | `'bytes'`-only data will raise an exception (except for [`Series.str.decode()`](../reference/api/pandas.Series.str.decode.html#pandas.Series.str.decode "pandas.Series.str.decode"), [`Series.str.get()`](../reference/api/pandas.Series.str.get.html#pandas.Series.str.get "pandas.Series.str.get"),
[`Series.str.len()`](../re... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
23fca8d8-4137-5fa2-bb4f-482927f7baae | changelog | pandas | pandas_whatsnew | 0.25.0 | 29 | In [22]: s = pd.Series(np.array(['a', 'ba', 'cba'], 'S'), dtype=object)
In [23]: s
Out[23]:
0 b'a'
1 b'ba'
2 b'cba'
Length: 3, dtype: object
In [24]: s.str.startswith(b'a')
---------------------------------------------------------------------------
TypeError Traceback (mos... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
bd01c6ca-9a8b-514c-9359-38efbb221ca1 | changelog | pandas | pandas_whatsnew | 0.25.0 | 30 | ### Categorical dtypes are preserved during GroupBy[#](#categorical-dtypes-are-preserved-during-groupby "Link to this heading")
Previously, columns that were categorical, but not the groupby key(s) would be converted to `object` dtype during groupby operations. pandas now will preserve these dtypes. ([GH 18502](https:... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
f31e15bb-93a9-59d0-92d1-a1fe6e6445cf | changelog | pandas | pandas_whatsnew | 0.25.0 | 31 | ### Incompatible Index type unions[#](#incompatible-index-type-unions "Link to this heading")
When performing [`Index.union()`](../reference/api/pandas.Index.union.html#pandas.Index.union "pandas.Index.union") operations between objects of incompatible dtypes,
the result will be a base [`Index`](../reference/api/panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
114cc0dd-5fd2-5609-baed-7c0f32a082b0 | changelog | pandas | pandas_whatsnew | 0.25.0 | 32 | considered commutative, such that `A.union(B) == B.union(A)` ([GH 23525](https://github.com/pandas-dev/pandas/issues/23525)).
*Previous behavior*:
```None
In [1]: pd.period_range('19910905', periods=2).union(pd.Int64Index([1, 2, 3]))
...
ValueError: can only call with other PeriodIndex-ed objects
In [2]: pd.Index([]... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
2bc499f9-9793-5ecf-b552-5407127fef83 | changelog | pandas | pandas_whatsnew | 0.25.0 | 33 | ### `DataFrame` GroupBy ffill/bfill no longer return group labels[#](#dataframe-groupby-ffill-bfill-no-longer-return-group-labels "Link to this heading")
The methods `ffill`, `bfill`, `pad` and `backfill` of
`DataFrameGroupBy`
previously included the group labels in the return value, which was
inconsistent with other ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
4bdadfc4-dd79-5822-8d88-1953d387531c | changelog | pandas | pandas_whatsnew | 0.25.0 | 34 | When calling [`DataFrame.describe()`](../reference/api/pandas.DataFrame.describe.html#pandas.DataFrame.describe "pandas.DataFrame.describe") with an empty categorical / object
column, the ‘top’ and ‘freq’ columns were previously omitted, which was inconsistent with
the output for non-empty columns. Now the ‘top’ and ‘f... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
0aa46265-db5a-5023-b681-460b607b28cb | changelog | pandas | pandas_whatsnew | 0.25.0 | 35 | ### `__str__` methods now call `__repr__` rather than vice versa[#](#str-methods-now-call-repr-rather-than-vice-versa "Link to this heading")
pandas has until now mostly defined string representations in a pandas objects’
`__str__`/`__unicode__`/`__bytes__` methods, and called `__str__` from the `__repr__`
method, if ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
15974fb4-1754-5bf4-9185-85dd9e6212fa | changelog | pandas | pandas_whatsnew | 0.25.0 | 36 | ### Indexing an `IntervalIndex` with `Interval` objects[#](#indexing-an-intervalindex-with-interval-objects "Link to this heading")
Indexing methods for [`IntervalIndex`](../reference/api/pandas.IntervalIndex.html#pandas.IntervalIndex "pandas.IntervalIndex") have been modified to require exact matches only for [`Inter... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
a0646b9a-abe1-5aff-895f-6b5f2139a237 | changelog | pandas | pandas_whatsnew | 0.25.0 | 37 | this would previously return `True` for any `Interval` overlapping an `Interval` in the `IntervalIndex`.
*Previous behavior*:
```None
In [4]: pd.Interval(1, 2, closed='neither') in ii
Out[4]: True
In [5]: pd.Interval(-10, 10, closed='both') in ii
Out[5]: True
```
*New behavior*:
```None
In [38]: pd.Interval(1, 2, ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
7761cba2-cfe4-54bf-aa2b-2671cee91c93 | changelog | pandas | pandas_whatsnew | 0.25.0 | 38 | In [7]: ii.get_loc(pd.Interval(2, 6))
---------------------------------------------------------------------------
KeyError: Interval(2, 6, closed='right')
```
Likewise, [`get_indexer()`](../reference/api/pandas.IntervalIndex.get_indexer.html#pandas.IntervalIndex.get_indexer "pandas.IntervalIndex.get_indexer") and `get... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
b4b6fbbc-3b3e-5a54-9df9-391c2eaf282a | changelog | pandas | pandas_whatsnew | 0.25.0 | 39 | In [8]: s[pd.Interval(1, 5)]
Out[8]:
(0, 4] a
(1, 5] b
dtype: object
In [9]: s.loc[pd.Interval(1, 5)]
Out[9]:
(0, 4] a
(1, 5] b
dtype: object
```
*New behavior*:
```None
In [42]: s[pd.Interval(1, 5)]
Out[42]: 'b'
In [43]: s.loc[pd.Interval(1, 5)]
Out[43]: 'b'
```
Similarly, a `KeyError` will be raised ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
572692d0-3e2e-505e-b220-e66de810ef90 | changelog | pandas | pandas_whatsnew | 0.25.0 | 40 | The [`overlaps()`](../reference/api/pandas.IntervalIndex.overlaps.html#pandas.IntervalIndex.overlaps "pandas.IntervalIndex.overlaps") method can be used to create a boolean indexer that replicates the
previous behavior of returning overlapping matches.
*New behavior*:
```None
In [44]: idxr = s.index.overlaps(pd.Inter... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
4424c366-c4c7-5b38-8e9c-c681d9d09abc | changelog | pandas | pandas_whatsnew | 0.25.0 | 41 | a 1
b 2
c 3
Length: 3, dtype: int64
In [51]: s2
Out[51]:
d 3
c 4
b 5
Length: 3, dtype: int64
```
*Previous behavior*
```None
In [5]: np.power(s1, s2)
Out[5]:
a 1
b 16
c 243
dtype: int64
```
*New behavior*
```None
In [52]: np.power(s1, s2)
Out[52]:
a 1.0
b 32.0
c 81.0
d ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
9d99d70c-cfe4-5a23-9a76-1371e7e62152 | changelog | pandas | pandas_whatsnew | 0.25.0 | 42 | consistent with NumPy and the rest of pandas ([GH 21801](https://github.com/pandas-dev/pandas/issues/21801)).
```None
In [54]: cat = pd.Categorical(['b', None, 'a'], categories=['a', 'b'], ordered=True)
```
*Previous behavior*
```None
In [2]: cat = pd.Categorical(['b', None, 'a'], categories=['a', 'b'], ordered=True... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
0df1f50e-b487-52f2-9786-8be8f394db9e | changelog | pandas | pandas_whatsnew | 0.25.0 | 43 | Python 3.6. The [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") constructor now treats a list of dicts in the same way as
it does a list of `OrderedDict`, i.e. preserving the order of the dicts.
This change applies only when pandas is running on Python>=3.6 ([GH 27309](https://... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
418b5a7c-72ad-5e6a-8287-a001d9b8b999 | changelog | pandas | pandas_whatsnew | 0.25.0 | 44 | considering all the records from top to bottom. As a consequence, the column
order of the resulting DataFrame has changed compared to previous pandas versions.
```None
In [58]: pd.DataFrame(data)
Out[58]:
name state age hobby finances
0 Joe NY 18 NaN NaN
1 Jane KY 19 Minecraft ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
132da23b-ed92-5a64-95dd-ebdc649b4891 | changelog | pandas | pandas_whatsnew | 0.25.0 | 45 | If installed, we now require:
| Package | Minimum Version | Required |
| --- | --- | --- |
| numpy | 1.13.3 | X |
| pytz | 2015.4 | X |
| python-dateutil | 2.6.1 | X |
| bottleneck | 1.2.1 | |
| numexpr | 2.6.2 | |
| pytest (dev) | 4.0.2 | |
For [optional libraries](https://pandas.pydata.org/docs/getting_started/i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
d48eb321-bc0b-52cc-8856-7cd6bb2099df | changelog | pandas | pandas_whatsnew | 0.25.0 | 46 | See [Dependencies](../getting_started/install.html#install-dependencies) and [Optional dependencies](../getting_started/install.html#install-optional-dependencies) for more.
### Other API changes[#](#other-api-changes "Link to this heading")
* [`DatetimeTZDtype`](../reference/api/pandas.DatetimeTZDtype.html#pandas.Da... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
5f18a289-2055-50e5-9abb-9371e782a64c | changelog | pandas | pandas_whatsnew | 0.25.0 | 47 | * [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") and [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") scalars now implement the `to_numpy()` method as aliases to [`Timestamp.to_datetime64()`](../reference/api/pandas.Timestamp.to_datetim... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
c6b799d7-00d9-52b4-8665-850134e60814 | changelog | pandas | pandas_whatsnew | 0.25.0 | 48 | * Comparing [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") with unsupported objects now returns [`NotImplemented`](https://docs.python.org/3/library/constants.html#NotImplemented "(in Python v3.13)") instead of raising `TypeError`. This implies that unsupported rich comparison... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
c81f5067-cb3e-5963-9cf3-ceb04f74bc09 | changelog | pandas | pandas_whatsnew | 0.25.0 | 49 | * The `arg` argument in [`DataFrameGroupBy.agg()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.agg.html#pandas.core.groupby.DataFrameGroupBy.agg "pandas.core.groupby.DataFrameGroupBy.agg") has been renamed to `func` ([GH 26089](https://github.com/pandas-dev/pandas/issues/26089))
* The `arg` argument in `Windo... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
4ccbc8d1-3657-5d86-8c13-2d756b2aa802 | changelog | pandas | pandas_whatsnew | 0.25.0 | 50 | * The `.str`-accessor has been disabled for 1-level [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex"), use [`MultiIndex.to_flat_index()`](../reference/api/pandas.MultiIndex.to_flat_index.html#pandas.MultiIndex.to_flat_index "pandas.MultiIndex.to_flat_index") if necessary ([GH... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
6ab19642-c225-5105-a7bd-23d1d600ef0d | changelog | pandas | pandas_whatsnew | 0.25.0 | 51 | * [`Series.to_excel()`](../reference/api/pandas.Series.to_excel.html#pandas.Series.to_excel "pandas.Series.to_excel") and [`DataFrame.to_excel()`](../reference/api/pandas.DataFrame.to_excel.html#pandas.DataFrame.to_excel "pandas.DataFrame.to_excel") will now raise a `ValueError` when saving timezone aware data. ([GH 27... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
c5695b2b-e46b-5a5c-a04e-5c277cc2e2e3 | changelog | pandas | pandas_whatsnew | 0.25.0 | 52 | * [`DataFrame.to_hdf()`](../reference/api/pandas.DataFrame.to_hdf.html#pandas.DataFrame.to_hdf "pandas.DataFrame.to_hdf") and [`Series.to_hdf()`](../reference/api/pandas.Series.to_hdf.html#pandas.Series.to_hdf "pandas.Series.to_hdf") will now raise a `NotImplementedError` when saving a [`MultiIndex`](../reference/api/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
5684e89c-d894-5fc7-85f8-ab610415534b | changelog | pandas | pandas_whatsnew | 0.25.0 | 53 | df = pd.SparseDataFrame({"A": [0, 0, 1, 2]})
df.dtypes
```
**New way**
```None
In [59]: df = pd.DataFrame({"A": pd.arrays.SparseArray([0, 0, 1, 2])})
In [60]: df.dtypes
Out[60]:
A Sparse[int64, 0]
Length: 1, dtype: object
```
The memory usage of the two approaches is identical ([GH 19239](https://github.com/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
af5ba455-e742-5761-a708-70e84a88aec4 | changelog | pandas | pandas_whatsnew | 0.25.0 | 54 | * Deprecated the `units=M` (months) and `units=Y` (year) parameters for `units` of [`pandas.to_timedelta()`](../reference/api/pandas.to_timedelta.html#pandas.to_timedelta "pandas.to_timedelta"), [`pandas.Timedelta()`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") and [`pandas.TimedeltaInde... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
f43c5224-b2ed-5868-a462-27a5d0afdacd | changelog | pandas | pandas_whatsnew | 0.25.0 | 55 | * The `SparseArray.values` attribute is deprecated. You can use `np.asarray(...)` or
the `SparseArray.to_dense()` method instead ([GH 26421](https://github.com/pandas-dev/pandas/issues/26421)).
* The functions [`pandas.to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
0c4355f2-867c-5f93-a10c-f9ae97afea08 | changelog | pandas | pandas_whatsnew | 0.25.0 | 56 | * The `DataFrame.compound()` and `Series.compound()` methods are deprecated and will be removed in a future version ([GH 26405](https://github.com/pandas-dev/pandas/issues/26405)).
* The internal attributes `_start`, `_stop` and `_step` attributes of [`RangeIndex`](../reference/api/pandas.RangeIndex.html#pandas.RangeIn... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
2337a18d-3c1b-5fc7-a8db-ba78ccdf16b6 | changelog | pandas | pandas_whatsnew | 0.25.0 | 57 | Instead, use [`Series.dtype()`](../reference/api/pandas.Series.dtype.html#pandas.Series.dtype "pandas.Series.dtype") and [`DataFrame.dtypes()`](../reference/api/pandas.DataFrame.dtypes.html#pandas.DataFrame.dtypes "pandas.DataFrame.dtypes") ([GH 26705](https://github.com/pandas-dev/pandas/issues/26705)).
* The `Serie... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
7977c05d-4473-598e-b473-c0b8ee1ce67e | changelog | pandas | pandas_whatsnew | 0.25.0 | 58 | * The ‘outer’ method on NumPy ufuncs, e.g. `np.subtract.outer` has been deprecated on [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") objects. Convert the input to an array with [`Series.array`](../reference/api/pandas.Series.array.html#pandas.Series.array "pandas.Series.array") first ([GH... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
71367038-5979-5888-9867-f37293eb664b | changelog | pandas | pandas_whatsnew | 0.25.0 | 59 | * [`read_table()`](../reference/api/pandas.read_table.html#pandas.read_table "pandas.read_table") has been undeprecated. ([GH 25220](https://github.com/pandas-dev/pandas/issues/25220))
* `Index.dtype_str` is deprecated. ([GH 18262](https://github.com/pandas-dev/pandas/issues/18262))
* `Series.imag` and `Series.real` ar... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
1ff56027-a9b3-5133-8353-276d721d5171 | changelog | pandas | pandas_whatsnew | 0.25.0 | 60 | * The default value `ordered=None` in `CategoricalDtype` has been deprecated in favor of `ordered=False`. When converting between categorical types `ordered=True` must be explicitly passed in order to be preserved. ([GH 26336](https://github.com/pandas-dev/pandas/issues/26336))
* `Index.contains()` is deprecated. Use `... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
cc3ba232-c136-510a-b6c8-8138efbf5849 | changelog | pandas | pandas_whatsnew | 0.25.0 | 61 | * Removed `Panel` ([GH 25047](https://github.com/pandas-dev/pandas/issues/25047), [GH 25191](https://github.com/pandas-dev/pandas/issues/25191), [GH 25231](https://github.com/pandas-dev/pandas/issues/25231))
* Removed the previously deprecated `sheetname` keyword in [`read_excel()`](../reference/api/pandas.read_excel.h... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
592b4b4a-f2a0-5f69-903d-d6bbd5f6171e | changelog | pandas | pandas_whatsnew | 0.25.0 | 62 | * Removed the previously deprecated `convert_objects` ([GH 11221](https://github.com/pandas-dev/pandas/issues/11221))
* Removed the previously deprecated `select` method of `DataFrame` and `Series` ([GH 17633](https://github.com/pandas-dev/pandas/issues/17633))
* Removed the previously deprecated behavior of [`Series`]... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
6a360ef9-fe7b-5c30-8e7c-1d69fb78fd61 | changelog | pandas | pandas_whatsnew | 0.25.0 | 63 | * Removed the previously deprecated behavior of altering column or index labels with [`Series.rename_axis()`](../reference/api/pandas.Series.rename_axis.html#pandas.Series.rename_axis "pandas.Series.rename_axis") or [`DataFrame.rename_axis()`](../reference/api/pandas.DataFrame.rename_axis.html#pandas.DataFrame.rename_a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
4a6fc020-1cc1-56d3-8db7-73a159623774 | changelog | pandas | pandas_whatsnew | 0.25.0 | 64 | * Removed the previously deprecated `DataFrame.from.csv` and `Series.from_csv` ([GH 17812](https://github.com/pandas-dev/pandas/issues/17812))
* Removed the previously deprecated `raise_on_error` keyword argument in [`DataFrame.where()`](../reference/api/pandas.DataFrame.where.html#pandas.DataFrame.where "pandas.DataFr... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
b37c4ea4-2820-5128-a0f1-5da3c2dcbbf2 | changelog | pandas | pandas_whatsnew | 0.25.0 | 65 | * Removed the previously deprecated `convert` keyword argument in [`Series.take()`](../reference/api/pandas.Series.take.html#pandas.Series.take "pandas.Series.take") and [`DataFrame.take()`](../reference/api/pandas.DataFrame.take.html#pandas.DataFrame.take "pandas.DataFrame.take") ([GH 17352](https://github.com/pandas-... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
9c6c786a-91be-55b0-90d0-40ad038ad5ab | changelog | pandas | pandas_whatsnew | 0.25.0 | 66 | * [`DataFrame.to_stata()`](../reference/api/pandas.DataFrame.to_stata.html#pandas.DataFrame.to_stata "pandas.DataFrame.to_stata") is now faster when outputting data with any string or non-native endian columns ([GH 25045](https://github.com/pandas-dev/pandas/issues/25045))
* Improved performance of [`Series.searchsorte... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
bb6acf74-988c-5ec9-929f-0ee4c2103c4d | changelog | pandas | pandas_whatsnew | 0.25.0 | 67 | * Improved performance of slicing and other selected operation on a [`RangeIndex`](../reference/api/pandas.RangeIndex.html#pandas.RangeIndex "pandas.RangeIndex") ([GH 26565](https://github.com/pandas-dev/pandas/issues/26565), [GH 26617](https://github.com/pandas-dev/pandas/issues/26617), [GH 26722](https://github.com/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
e6e363d3-bda9-5dda-95fa-55b9d2680a98 | changelog | pandas | pandas_whatsnew | 0.25.0 | 68 | * Improved performance of [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") by faster parsing of N/A and boolean values ([GH 25804](https://github.com/pandas-dev/pandas/issues/25804))
* Improved performance of `IntervalIndex.is_monotonic`, `IntervalIndex.is_monotonic_increasing` an... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
273dd267-9541-593f-ae7c-d7ad26d50fc8 | changelog | pandas | pandas_whatsnew | 0.25.0 | 69 | * Improved performance of [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") by much faster parsing of `MM/YYYY` and `DD/MM/YYYY` datetime formats ([GH 25922](https://github.com/pandas-dev/pandas/issues/25922))
* Improved performance of nanops for dtypes that cannot store NaNs. Spee... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
7833f2ad-f8ea-5f22-b59b-295ee27b8880 | changelog | pandas | pandas_whatsnew | 0.25.0 | 70 | * Improved performance of [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") by faster concatenating date columns without extra conversion to string for integer/float zero and float `NaN`; by faster checking the string for the possibility of being a date ([GH 25754](https://github.c... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
732ef6a9-cd8a-5084-a753-8b0b1cef85db | changelog | pandas | pandas_whatsnew | 0.25.0 | 71 | * Improved performance by removing the need for a garbage collect when checking for `SettingWithCopyWarning` ([GH 27031](https://github.com/pandas-dev/pandas/issues/27031))
* For [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") changed default value of cache parameter ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
c3321ad8-95be-5566-bdd2-c61e5040b0b3 | changelog | pandas | pandas_whatsnew | 0.25.0 | 72 | ## Bug fixes[#](#bug-fixes "Link to this heading")
### Categorical[#](#categorical "Link to this heading")
* Bug in [`DataFrame.at()`](../reference/api/pandas.DataFrame.at.html#pandas.DataFrame.at "pandas.DataFrame.at") and [`Series.at()`](../reference/api/pandas.Series.at.html#pandas.Series.at "pandas.Series.at") th... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
d15f14b5-7fe6-5d82-b7c4-576be5009d8a | changelog | pandas | pandas_whatsnew | 0.25.0 | 73 | * Bug in [`DataFrame.dropna()`](../reference/api/pandas.DataFrame.dropna.html#pandas.DataFrame.dropna "pandas.DataFrame.dropna") when the [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") has a [`CategoricalIndex`](../reference/api/pandas.CategoricalIndex.html#pandas.CategoricalI... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
6c1217e1-5c32-59c1-b936-d64870028f9a | changelog | pandas | pandas_whatsnew | 0.25.0 | 74 | * Bug in [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") which would raise `InvalidIndexError: Reindexing only valid with uniquely valued Index objects` when called with `cache=True`, with `arg` including at least two different elements from the set `{None, numpy.nan,... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
883a758d-f705-5aa1-8718-7f726ead8ef3 | changelog | pandas | pandas_whatsnew | 0.25.0 | 75 | * Bug in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") and [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") repr where `np.datetime64('NaT')` and `np.timedelta64('NaT')` with `dtype=object` would be represented as `NaN` ([GH 25445](https://github.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
e3345a30-9f56-527e-bb14-75974b58bda3 | changelog | pandas | pandas_whatsnew | 0.25.0 | 76 | * Bug in [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") which raises unhandled `OverflowError` when called with mix of invalid dates and `NaN` values with `format='%Y%m%d'` and `error='coerce'` ([GH 25512](https://github.com/pandas-dev/pandas/issues/25512))
* Bug in ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
0cab626f-2448-5b55-8cfc-7ea11ce5f666 | changelog | pandas | pandas_whatsnew | 0.25.0 | 77 | * Bug when comparing a [`PeriodIndex`](../reference/api/pandas.PeriodIndex.html#pandas.PeriodIndex "pandas.PeriodIndex") against a zero-dimensional numpy array ([GH 26689](https://github.com/pandas-dev/pandas/issues/26689))
* Bug in constructing a `Series` or `DataFrame` from a numpy `datetime64` array with a non-ns un... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
6de85cd4-a94e-5980-afd0-ee55023c52a2 | changelog | pandas | pandas_whatsnew | 0.25.0 | 78 | * Bug where adding [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") to a `np.timedelta64` object would raise instead of returning a [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") ([GH 24775](https://github.com/pandas-dev/pandas/issues/2... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
71fc5b11-5908-5559-b6cc-52511377db6d | changelog | pandas | pandas_whatsnew | 0.25.0 | 79 | ### Timedelta[#](#timedelta "Link to this heading")
* Bug in `TimedeltaIndex.intersection()` where for non-monotonic indices in some cases an empty `Index` was returned when in fact an intersection existed ([GH 25913](https://github.com/pandas-dev/pandas/issues/25913))
* Bug with comparisons between [`Timedelta`](../r... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
f3bdb407-ddf5-5be1-8c74-e2cae2abc96d | changelog | pandas | pandas_whatsnew | 0.25.0 | 80 | ### Timezones[#](#timezones "Link to this heading")
* Bug in [`DatetimeIndex.to_frame()`](../reference/api/pandas.DatetimeIndex.to_frame.html#pandas.DatetimeIndex.to_frame "pandas.DatetimeIndex.to_frame") where timezone aware data would be converted to timezone naive data ([GH 25809](https://github.com/pandas-dev/pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
9ab2ccd9-0c70-593e-8a8f-f356426e271e | changelog | pandas | pandas_whatsnew | 0.25.0 | 81 | * Bug in [`Series.at()`](../reference/api/pandas.Series.at.html#pandas.Series.at "pandas.Series.at") where setting [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") with timezone raises `TypeError` ([GH 25506](https://github.com/pandas-dev/pandas/issues/25506))
* Bug in [`DataFra... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
d49cc043-bcea-5d6b-95db-b7ea782d43c4 | changelog | pandas | pandas_whatsnew | 0.25.0 | 82 | * Bug in [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") with `unit='ns'` would drop timezone information from the parsed argument ([GH 26168](https://github.com/pandas-dev/pandas/issues/26168))
* Bug in [`DataFrame.join()`](../reference/api/pandas.DataFrame.join.html... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
9c44d222-b518-5269-ad61-59fa7ac06183 | changelog | pandas | pandas_whatsnew | 0.25.0 | 83 | * Bug in `DatetimeIndex.union()` when combining a timezone aware and timezone unaware [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") ([GH 21671](https://github.com/pandas-dev/pandas/issues/21671))
* Bug when applying a numpy reduction function (e.g. `numpy.mini... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
cacb0ab8-6580-5c37-8ff7-80e02369cf43 | changelog | pandas | pandas_whatsnew | 0.25.0 | 84 | * Bug in [`to_numeric()`](../reference/api/pandas.to_numeric.html#pandas.to_numeric "pandas.to_numeric") in which invalid values for `errors` were being allowed ([GH 26466](https://github.com/pandas-dev/pandas/issues/26466))
* Bug in `format` in which floating point complex numbers were not being formatted to proper di... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
bcffb055-1462-5307-b63f-03a187237a83 | changelog | pandas | pandas_whatsnew | 0.25.0 | 85 | * Bug in `Series.divmod()` and `Series.rdivmod()` which would raise an (incorrect) `ValueError` rather than return a pair of [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") objects as result ([GH 25557](https://github.com/pandas-dev/pandas/issues/25557))
* Raises a helpful exception when a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
71ac24b3-3c0f-5cd9-a533-1884f3112ad3 | changelog | pandas | pandas_whatsnew | 0.25.0 | 86 | * Bug in `divmod` with a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") object containing zeros incorrectly raising `AttributeError` ([GH 26987](https://github.com/pandas-dev/pandas/issues/26987))
* Inconsistency in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Seri... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
853a2054-4bf9-5849-823a-182e0f8f3de4 | changelog | pandas | pandas_whatsnew | 0.25.0 | 87 | * Bug in the `__name__` attribute of several methods of [`Series.str`](../reference/api/pandas.Series.str.html#pandas.Series.str "pandas.Series.str"), which were set incorrectly ([GH 23551](https://github.com/pandas-dev/pandas/issues/23551))
* Improved error message when passing [`Series`](../reference/api/pandas.Serie... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
52f9a307-50fa-5497-9b0d-b0cd5d9f3011 | changelog | pandas | pandas_whatsnew | 0.25.0 | 88 | * Fixed bug in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series")/[`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") not displaying `NaN` in [`IntervalIndex`](../reference/api/pandas.IntervalIndex.html#pandas.IntervalIndex "pandas.IntervalIndex") with mi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
1079f2df-0f0a-5db2-9306-a40668d1aebe | changelog | pandas | pandas_whatsnew | 0.25.0 | 89 | * Bug in [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") constructor where passing mixed closed [`Interval`](../reference/api/pandas.Interval.html#pandas.Interval "pandas.Interval") objects would result in a `ValueError` instead of an `object` dtype `Index` ([GH 27172](https://github.com/panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
cd850c1e-1d59-5ec8-9abe-af65f13eedd0 | changelog | pandas | pandas_whatsnew | 0.25.0 | 90 | * Bug in `KeyError` exception message when indexing a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") with a non-existent key not displaying the original key ([GH 27250](https://github.com/pandas-dev/pandas/issues/27250)).
* Bug in `.iloc` and `.loc` with a boolean indexer ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
82feca17-f9cb-5404-a0d4-ca60fbe99c32 | changelog | pandas | pandas_whatsnew | 0.25.0 | 91 | * Bug in which `DataFrame.append()` produced an erroneous warning indicating that a `KeyError` will be thrown in the future when the data to be appended contains new columns ([GH 22252](https://github.com/pandas-dev/pandas/issues/22252)).
* Bug in which [`DataFrame.to_csv()`](../reference/api/pandas.DataFrame.to_csv.ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
2a78120e-49a2-5c2e-8b5a-9da68dd84636 | changelog | pandas | pandas_whatsnew | 0.25.0 | 92 | * Allow keyword arguments for callable local reference used in the [`DataFrame.query()`](../reference/api/pandas.DataFrame.query.html#pandas.DataFrame.query "pandas.DataFrame.query") string ([GH 26426](https://github.com/pandas-dev/pandas/issues/26426))
* Fixed a `KeyError` when indexing a [`MultiIndex`](../reference/a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
a11e9330-25bd-55ef-8fe0-0dfe4f02432f | changelog | pandas | pandas_whatsnew | 0.25.0 | 93 | * Bug in [`Categorical`](../reference/api/pandas.Categorical.html#pandas.Categorical "pandas.Categorical") and [`CategoricalIndex`](../reference/api/pandas.CategoricalIndex.html#pandas.CategoricalIndex "pandas.CategoricalIndex") with [`Interval`](../reference/api/pandas.Interval.html#pandas.Interval "pandas.Interval") ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
1d994b49-c40b-5e96-bd46-9776b7b0acaf | changelog | pandas | pandas_whatsnew | 0.25.0 | 94 | * Bug in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") and [`DataFrame.iloc()`](../reference/api/pandas.DataFrame.iloc.html#pandas.DataFrame.iloc "pandas.DataFrame.iloc") on a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.Data... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
740e8aa3-edeb-53b9-8123-294f805d51ec | changelog | pandas | pandas_whatsnew | 0.25.0 | 95 | * Bug in setting a new value in a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") with a [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") object incorrectly casting the value to an integer ([GH 22717](https://github.com/pandas-dev/pandas/issues/2271... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
ab2d587c-fbb7-5f81-8809-24961d5e55a4 | changelog | pandas | pandas_whatsnew | 0.25.0 | 96 | * Bug in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") setting an existing tuple key (`__setitem__`) with timezone-aware datetime values incorrectly raising `TypeError` ([GH 20441](https://github.com/pandas-dev/pandas/issues/20441))
### Missing[#](#missing "Link to this heading")
* Fix... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
cd4e57f0-bcf3-5e71-8404-589fbeb6e821 | changelog | pandas | pandas_whatsnew | 0.25.0 | 97 | * A `ValueError` will now be thrown by [`DataFrame.fillna()`](../reference/api/pandas.DataFrame.fillna.html#pandas.DataFrame.fillna "pandas.DataFrame.fillna") when `limit` is not a positive integer ([GH 27042](https://github.com/pandas-dev/pandas/issues/27042))
### MultiIndex[#](#multiindex "Link to this heading")
* ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
ecb6eca9-4480-5018-8bf9-2f1e0c577fa0 | changelog | pandas | pandas_whatsnew | 0.25.0 | 98 | * Fixed bug in missing text when using `to_clipboard()` if copying utf-16 characters in Python 3 on Windows ([GH 25040](https://github.com/pandas-dev/pandas/issues/25040))
* Bug in [`read_json()`](../reference/api/pandas.read_json.html#pandas.read_json "pandas.read_json") for `orient='table'` when it tries to infer dty... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
c72b9c6a-c08a-5457-8e7b-32a58225d573 | changelog | pandas | pandas_whatsnew | 0.25.0 | 99 | * Bug in [`read_json()`](../reference/api/pandas.read_json.html#pandas.read_json "pandas.read_json") for `orient='table'` and string of float column names, as it makes a column name type conversion to [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp"), which is not applicable beca... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
385dcc99-a517-51a7-8c18-1e5affbde65f | changelog | pandas | pandas_whatsnew | 0.25.0 | 100 | * [`DataFrame.to_html()`](../reference/api/pandas.DataFrame.to_html.html#pandas.DataFrame.to_html "pandas.DataFrame.to_html") now raises `TypeError` when using an invalid type for the `classes` parameter instead of `AssertionError` ([GH 25608](https://github.com/pandas-dev/pandas/issues/25608))
* Bug in [`DataFrame.to_... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
c79b1587-2834-5fbc-8402-365f3d247646 | changelog | pandas | pandas_whatsnew | 0.25.0 | 101 | * Improved performance in [`pandas.read_stata()`](../reference/api/pandas.read_stata.html#pandas.read_stata "pandas.read_stata") and `pandas.io.stata.StataReader` when converting columns that have missing values ([GH 25772](https://github.com/pandas-dev/pandas/issues/25772))
* Bug in [`DataFrame.to_html()`](../referenc... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
28bf8b24-41b8-5573-be40-eb2c4341983c | changelog | pandas | pandas_whatsnew | 0.25.0 | 102 | * Bug in [`read_hdf()`](../reference/api/pandas.read_hdf.html#pandas.read_hdf "pandas.read_hdf") not properly closing store after a `KeyError` is raised ([GH 25766](https://github.com/pandas-dev/pandas/issues/25766))
* Improved the explanation for the failure when value labels are repeated in Stata dta files and sugges... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
36da1dd2-40d3-5bef-8e84-f1c56541922f | changelog | pandas | pandas_whatsnew | 0.25.0 | 103 | * Fixed bug in loading objects from S3 that contain `#` characters in the URL ([GH 25945](https://github.com/pandas-dev/pandas/issues/25945))
* Adds `use_bqstorage_api` parameter to [`read_gbq()`](../reference/api/pandas.read_gbq.html#pandas.read_gbq "pandas.read_gbq") to speed up downloads of large data frames. This f... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
e47409e1-d85f-5cd8-9307-3bb86dc2b8b0 | changelog | pandas | pandas_whatsnew | 0.25.0 | 104 | * Added `cache_dates=True` parameter to [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv"), which allows to cache unique dates when they are parsed ([GH 25990](https://github.com/pandas-dev/pandas/issues/25990))
* [`DataFrame.to_excel()`](../reference/api/pandas.DataFrame.to_excel.h... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
9e654d31-58fc-54e7-b8bd-e0e29662e37d | changelog | pandas | pandas_whatsnew | 0.25.0 | 105 | * [`read_excel()`](../reference/api/pandas.read_excel.html#pandas.read_excel "pandas.read_excel") now raises a `ValueError` when input is of type `pandas.io.excel.ExcelFile` and `engine` param is passed since `pandas.io.excel.ExcelFile` has an engine defined ([GH 26566](https://github.com/pandas-dev/pandas/issues/26566... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
7447006b-b69e-598c-bac2-f819b0e04eb1 | changelog | pandas | pandas_whatsnew | 0.25.0 | 106 | * Bug in [`read_hdf()`](../reference/api/pandas.read_hdf.html#pandas.read_hdf "pandas.read_hdf") where reading a timezone aware [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") would raise a `TypeError` ([GH 11926](https://github.com/pandas-dev/pandas/issues/1192... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
b927dc81-3693-5570-9a26-500b0a417566 | changelog | pandas | pandas_whatsnew | 0.25.0 | 107 | * Allow parsing of [`PeriodDtype`](../reference/api/pandas.PeriodDtype.html#pandas.PeriodDtype "pandas.PeriodDtype") columns when using [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") ([GH 26934](https://github.com/pandas-dev/pandas/issues/26934))
### Plotting[#](#plotting "Link... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
07e1fd4d-74d3-5074-b62c-c056c3df80ac | changelog | pandas | pandas_whatsnew | 0.25.0 | 108 | * Bug in incorrect ticklabel positions when plotting an index that are non-numeric / non-datetime ([GH 7612](https://github.com/pandas-dev/pandas/issues/7612), [GH 15912](https://github.com/pandas-dev/pandas/issues/15912), [GH 22334](https://github.com/pandas-dev/pandas/issues/22334))
* Fixed bug causing plots of [`Per... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
ed65a2a7-731c-5388-b3e4-7fd3768263e2 | changelog | pandas | pandas_whatsnew | 0.25.0 | 109 | * Bug in `Resampler.agg()` with a timezone aware index where `OverflowError` would raise when passing a list of functions ([GH 22660](https://github.com/pandas-dev/pandas/issues/22660))
* Bug in [`DataFrameGroupBy.nunique()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.nunique.html#pandas.core.groupby.DataFra... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
afcc669a-0d21-5418-8db3-fa31712383db | changelog | pandas | pandas_whatsnew | 0.25.0 | 110 | * Bug in [`Series.groupby()`](../reference/api/pandas.Series.groupby.html#pandas.Series.groupby "pandas.Series.groupby") where `observed` kwarg was previously ignored ([GH 24880](https://github.com/pandas-dev/pandas/issues/24880))
* Bug in [`Series.groupby()`](../reference/api/pandas.Series.groupby.html#pandas.Series.g... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
da64b623-1f62-57af-b77f-5c159d39e1a2 | changelog | pandas | pandas_whatsnew | 0.25.0 | 111 | * Ensured that result group order is correct when grouping on an ordered `Categorical` and specifying `observed=True` ([GH 25871](https://github.com/pandas-dev/pandas/issues/25871), [GH 25167](https://github.com/pandas-dev/pandas/issues/25167))
* Bug in [`Rolling.min()`](../reference/api/pandas.core.window.rolling.Roll... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
d7444091-d703-5b24-8ae8-d869a59c3133 | changelog | pandas | pandas_whatsnew | 0.25.0 | 112 | * Bug in `GroupBy.idxmax()` and `GroupBy.idxmin()` with datetime column would return incorrect dtype ([GH 25444](https://github.com/pandas-dev/pandas/issues/25444), [GH 15306](https://github.com/pandas-dev/pandas/issues/15306))
* Bug in `GroupBy.cumsum()`, `GroupBy.cumprod()`, `GroupBy.cummin()` and `GroupBy.cummax()` ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
fdfb849e-b221-5577-b751-1eeef3f5ab23 | changelog | pandas | pandas_whatsnew | 0.25.0 | 113 | * Bug in [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") where passing a [`Grouper`](../reference/api/pandas.Grouper.html#pandas.Grouper "pandas.Grouper") would return incorrect groups when using the `.groups` accessor ([GH 26326](https://githu... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
2e4150db-f8c3-5407-a3ae-b87d3ab4a986 | changelog | pandas | pandas_whatsnew | 0.25.0 | 114 | * Bug in [`Rolling.median()`](../reference/api/pandas.core.window.rolling.Rolling.median.html#pandas.core.window.rolling.Rolling.median "pandas.core.window.rolling.Rolling.median") and [`Rolling.quantile()`](../reference/api/pandas.core.window.rolling.Rolling.quantile.html#pandas.core.window.rolling.Rolling.quantile "p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
8ef4c5f2-4120-5937-b05d-8ec5981571a6 | changelog | pandas | pandas_whatsnew | 0.25.0 | 115 | * Bug in [`Rolling.max()`](../reference/api/pandas.core.window.rolling.Rolling.max.html#pandas.core.window.rolling.Rolling.max "pandas.core.window.rolling.Rolling.max") and [`Rolling.min()`](../reference/api/pandas.core.window.rolling.Rolling.min.html#pandas.core.window.rolling.Rolling.min "pandas.core.window.rolling.R... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
ff790f8a-dc89-5c0d-a3be-bcdcabfd49c6 | changelog | pandas | pandas_whatsnew | 0.25.0 | 116 | * Bug in [`merge()`](../reference/api/pandas.merge.html#pandas.merge "pandas.merge") when merging by index name would sometimes result in an incorrectly numbered index (missing index values are now assigned NA) ([GH 24212](https://github.com/pandas-dev/pandas/issues/24212), [GH 25009](https://github.com/pandas-dev/pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
6d1cdb41-4a99-5e0e-94b0-138dfd4d38a3 | changelog | pandas | pandas_whatsnew | 0.25.0 | 117 | * Bug in [`pivot_table()`](../reference/api/pandas.pivot_table.html#pandas.pivot_table "pandas.pivot_table") where columns with `NaN` values are dropped even if `dropna` argument is `False`, when the `aggfunc` argument contains a `list` ([GH 22159](https://github.com/pandas-dev/pandas/issues/22159))
* Bug in [`concat()... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
1a804982-6f97-5294-af86-4dce9eff07f1 | changelog | pandas | pandas_whatsnew | 0.25.0 | 118 | * bug in [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") instantiating with a dict of iterators or generators (e.g. `pd.DataFrame({'A': reversed(range(3))})`) raised an error ([GH 26349](https://github.com/pandas-dev/pandas/issues/26349)).
* Bug in [`DataFrame`](../reference/ap... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
8639053e-a4bc-5c84-a0dc-0e678b1cf066 | changelog | pandas | pandas_whatsnew | 0.25.0 | 119 | * Bug in [`Series.apply()`](../reference/api/pandas.Series.apply.html#pandas.Series.apply "pandas.Series.apply") failed when the series is a timezone aware [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") ([GH 25959](https://github.com/pandas-dev/pandas/issues/25... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
8e1ca5c7-f717-5ec7-acad-11111f3c5fd8 | changelog | pandas | pandas_whatsnew | 0.25.0 | 120 | * Bug in [`Series.nlargest()`](../reference/api/pandas.Series.nlargest.html#pandas.Series.nlargest "pandas.Series.nlargest") treats `True` as smaller than `False` ([GH 26154](https://github.com/pandas-dev/pandas/issues/26154))
* Bug in [`DataFrame.pivot_table()`](../reference/api/pandas.DataFrame.pivot_table.html#panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
41da0017-e16e-5871-abab-8701ce00f248 | changelog | pandas | pandas_whatsnew | 0.25.0 | 121 | * Bug in [`DataFrame.transpose()`](../reference/api/pandas.DataFrame.transpose.html#pandas.DataFrame.transpose "pandas.DataFrame.transpose") where transposing a DataFrame with a timezone-aware datetime column would incorrectly raise `ValueError` ([GH 26825](https://github.com/pandas-dev/pandas/issues/26825))
* Bug in [... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
283ae1aa-1245-5e0d-be44-9c1b9a372b3d | changelog | pandas | pandas_whatsnew | 0.25.0 | 122 | ### Sparse[#](#sparse "Link to this heading")
* Significant speedup in `SparseArray` initialization that benefits most operations, fixing performance regression introduced in v0.20.0 ([GH 24985](https://github.com/pandas-dev/pandas/issues/24985))
* Bug in `SparseFrame` constructor where passing `None` as the data woul... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
63c17b7e-81d4-5b90-9a12-28c001fa87b1 | changelog | pandas | pandas_whatsnew | 0.25.0 | 123 | * Bug in `numpy.modf()` on a `SparseArray`. Now a tuple of `SparseArray` is returned ([GH 26946](https://github.com/pandas-dev/pandas/issues/26946)).
### Build changes[#](#build-changes "Link to this heading")
* Fix install error with PyPy on macOS ([GH 26536](https://github.com/pandas-dev/pandas/issues/26536))
### ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
e4739fa9-2fe7-572d-b7d3-4f1265d7c439 | changelog | pandas | pandas_whatsnew | 0.25.0 | 124 | * Keyword argument `deep` has been removed from `ExtensionArray.copy()` ([GH 27083](https://github.com/pandas-dev/pandas/issues/27083))
### Other[#](#other "Link to this heading")
* Removed unused C functions from vendored UltraJSON implementation ([GH 26198](https://github.com/pandas-dev/pandas/issues/26198))
* Allo... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
05f2f8fb-b02a-5912-82c8-101172bdd490 | changelog | pandas | pandas_whatsnew | 0.25.0 | 125 | ## Contributors[#](#contributors "Link to this heading")
A total of 231 people contributed patches to this release. People with a
“+” by their names contributed a patch for the first time.
* 1\_x7 +
* Abdullah İhsan Seçer +
* Adam Bull +
* Adam Hooper
* Albert Villanova del Moral
* Alex Watt +
* AlexTereshenkov +
* A... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
3b081eed-8124-596f-ae50-aeb468f04b73 | changelog | pandas | pandas_whatsnew | 0.25.0 | 126 | * Deepyaman Datta +
* Denis Belavin +
* Devin Petersohn +
* Diane Trout +
* EdAbati +
* Enrico Rotundo +
* EternalLearner42 +
* Evan +
* Evan Livelo +
* Fabian Rost +
* Flavien Lambert +
* Florian Rathgeber +
* Frank Hoang +
* Gaibo Zhang +
* Gioia Ballin
* Giuseppe Romagnuolo +
* Gordon Blackadder +
* Gregory Rome +
*... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.