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 |
|---|---|---|---|---|---|---|---|
c89dd446-c085-511b-b5cd-9e57afe683a1 | changelog | pandas | pandas_whatsnew | 1.5.0 | 15 | ### Copy on Write[#](#copy-on-write "Link to this heading")
A new feature `copy_on_write` was added ([GH 46958](https://github.com/pandas-dev/pandas/issues/46958)). Copy on write ensures that
any DataFrame or Series derived from another in any way always behaves as a copy.
Copy on write disallows updating any other ob... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
3579e0ec-c687-574a-9af9-6a3f3df71d39 | changelog | pandas | pandas_whatsnew | 1.5.0 | 16 | In [19]: df = pd.DataFrame({"foo": [1, 2, 3], "bar": 1})
In [20]: view = df["foo"]
In [21]: view.iloc[0]
Out[21]: 1
In [22]: df
Out[22]:
foo bar
0 1 1
1 2 1
2 3 1
```
With copy on write enabled, df won’t be updated anymore:
```None
In [23]: with pd.option_context("mode.copy_on_write", True):... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
b9cfc776-9ae4-5f46-a5cf-a18df50aebc1 | changelog | pandas | pandas_whatsnew | 1.5.0 | 17 | * [`MultiIndex.to_frame()`](../reference/api/pandas.MultiIndex.to_frame.html#pandas.MultiIndex.to_frame "pandas.MultiIndex.to_frame") now supports the argument `allow_duplicates` and raises on duplicate labels if it is missing or False ([GH 45245](https://github.com/pandas-dev/pandas/issues/45245))
* [`StringArray`](..... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
b58ac136-5cf3-5d64-8c19-99e8bf0b6758 | changelog | pandas | pandas_whatsnew | 1.5.0 | 18 | * [`DataFrame.plot()`](../reference/api/pandas.DataFrame.plot.html#pandas.DataFrame.plot "pandas.DataFrame.plot") will now allow the `subplots` parameter to be a list of iterables specifying column groups, so that columns may be grouped together in the same subplot ([GH 29688](https://github.com/pandas-dev/pandas/issue... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
95f82723-42b7-58d7-ac37-9eec3e76e9c1 | changelog | pandas | pandas_whatsnew | 1.5.0 | 19 | * [`DataFrameGroupBy.min()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.min.html#pandas.core.groupby.DataFrameGroupBy.min "pandas.core.groupby.DataFrameGroupBy.min"), [`SeriesGroupBy.min()`](../reference/api/pandas.core.groupby.SeriesGroupBy.min.html#pandas.core.groupby.SeriesGroupBy.min "pandas.core.groupby... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
f842c607-38e2-5976-976d-1e0fdaaa146f | changelog | pandas | pandas_whatsnew | 1.5.0 | 20 | * [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") now supports `defaultdict` as a `dtype` parameter ([GH 41574](https://github.com/pandas-dev/pandas/issues/41574))
* [`DataFrame.rolling()`](../reference/api/pandas.DataFrame.rolling.html#pandas.DataFrame.rolling "pandas.DataFrame.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
691b5d88-5322-51f1-9e9f-35a91f3d633e | changelog | pandas | pandas_whatsnew | 1.5.0 | 21 | * Implemented a complex-dtype [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index"), passing a complex-dtype array-like to `pd.Index` will now retain complex dtype instead of casting to `object` ([GH 45845](https://github.com/pandas-dev/pandas/issues/45845))
* [`Series`](../reference/api/pandas.Seri... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
725e30c1-d4c4-56e7-ab0d-5833ae368c65 | changelog | pandas | pandas_whatsnew | 1.5.0 | 22 | * [`DataFrame.where()`](../reference/api/pandas.DataFrame.where.html#pandas.DataFrame.where "pandas.DataFrame.where") tries to maintain dtype of [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") if fill value can be cast without loss of precision ([GH 45582](https://github.com/pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
73d14427-2b8c-593a-a234-a49631e8f5f0 | changelog | pandas | pandas_whatsnew | 1.5.0 | 23 | * Added `numeric_only` argument to [`DataFrame.corr()`](../reference/api/pandas.DataFrame.corr.html#pandas.DataFrame.corr "pandas.DataFrame.corr"), [`DataFrame.corrwith()`](../reference/api/pandas.DataFrame.corrwith.html#pandas.DataFrame.corrwith "pandas.DataFrame.corrwith"), [`DataFrame.cov()`](../reference/api/pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
fc00b5d8-4df2-5b35-ab46-553afdf15bdb | changelog | pandas | pandas_whatsnew | 1.5.0 | 24 | * A [`errors.PerformanceWarning`](../reference/api/pandas.errors.PerformanceWarning.html#pandas.errors.PerformanceWarning "pandas.errors.PerformanceWarning") is now thrown when using `string[pyarrow]` dtype with methods that don’t dispatch to `pyarrow.compute` methods ([GH 42613](https://github.com/pandas-dev/pandas/is... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
eaf5ac26-a6bc-5671-bb7b-276cb9d95051 | changelog | pandas | pandas_whatsnew | 1.5.0 | 25 | * Added `numeric_only` argument to [`Resampler.sum()`](../reference/api/pandas.core.resample.Resampler.sum.html#pandas.core.resample.Resampler.sum "pandas.core.resample.Resampler.sum"), [`Resampler.prod()`](../reference/api/pandas.core.resample.Resampler.prod.html#pandas.core.resample.Resampler.prod "pandas.core.resamp... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
d332b700-5ef1-5ceb-b1d9-e309cd426d8e | changelog | pandas | pandas_whatsnew | 1.5.0 | 26 | * `times` argument in `ExponentialMovingWindow` now accepts `np.timedelta64` ([GH 47003](https://github.com/pandas-dev/pandas/issues/47003))
* [`DataError`](../reference/api/pandas.errors.DataError.html#pandas.errors.DataError "pandas.errors.DataError"), [`SpecificationError`](../reference/api/pandas.errors.Specificati... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
c4c32791-b9d5-5b00-a14c-665def4671ae | changelog | pandas | pandas_whatsnew | 1.5.0 | 27 | * Added `check_like` argument to [`testing.assert_series_equal()`](../reference/api/pandas.testing.assert_series_equal.html#pandas.testing.assert_series_equal "pandas.testing.assert_series_equal") ([GH 47247](https://github.com/pandas-dev/pandas/issues/47247))
* Add support for [`DataFrameGroupBy.ohlc()`](../reference/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
a8134069-8ee7-585f-a6ad-8a99b49170e3 | changelog | pandas | pandas_whatsnew | 1.5.0 | 28 | * [`pandas.read_html()`](../reference/api/pandas.read_html.html#pandas.read_html "pandas.read_html") now supports extracting links from table cells ([GH 13141](https://github.com/pandas-dev/pandas/issues/13141))
* `DatetimeIndex.astype()` now supports casting timezone-naive indexes to `datetime64[s]`, `datetime64[ms]`,... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
5a78dbc3-e2ea-5ff4-806a-73456de081f2 | changelog | pandas | pandas_whatsnew | 1.5.0 | 29 | * `RangeIndex.union()` now can return a [`RangeIndex`](../reference/api/pandas.RangeIndex.html#pandas.RangeIndex "pandas.RangeIndex") instead of a `Int64Index` if the resulting values are equally spaced ([GH 47557](https://github.com/pandas-dev/pandas/issues/47557), [GH 43885](https://github.com/pandas-dev/pandas/issue... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
3adc81dc-19bf-53cb-b494-3f956fc38d88 | changelog | pandas | pandas_whatsnew | 1.5.0 | 30 | * [`Interval`](../reference/api/pandas.Interval.html#pandas.Interval "pandas.Interval") now supports checking whether one interval is contained by another interval ([GH 46613](https://github.com/pandas-dev/pandas/issues/46613))
* Added `copy` keyword to [`Series.set_axis()`](../reference/api/pandas.Series.set_axis.html... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
69875a0d-e4f7-592d-bf00-c299a92791b8 | changelog | pandas | pandas_whatsnew | 1.5.0 | 31 | * The `Dockerfile` now installs a dedicated `pandas-dev` virtual environment for pandas development instead of using the `base` environment ([GH 48427](https://github.com/pandas-dev/pandas/issues/48427))
## Notable bug fixes[#](#notable-bug-fixes "Link to this heading")
These are bug fixes that might have notable beh... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
4916fbed-bac8-580c-9dbc-a0fbb2acbb9f | changelog | pandas | pandas_whatsnew | 1.5.0 | 32 | [`DataFrameGroupBy.transform()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.transform.html#pandas.core.groupby.DataFrameGroupBy.transform "pandas.core.groupby.DataFrameGroupBy.transform") or [`SeriesGroupBy.transform()`](../reference/api/pandas.core.groupby.SeriesGroupBy.transform.html#pandas.core.groupby.Se... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
87f41afd-57c1-5d45-acd9-04b08065b8f5 | changelog | pandas | pandas_whatsnew | 1.5.0 | 33 | In [3]: # The value in the last row is np.nan interpreted as an integer
df.groupby('a', dropna=True).transform('ffill')
Out[3]:
b
0 2
1 3
2 -9223372036854775808
In [3]: # Should have one additional row with the value np.nan
df.groupby('a', drop... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
31b3c92e-a295-50fd-b552-8bd2140915fb | changelog | pandas | pandas_whatsnew | 1.5.0 | 34 | ### Serializing tz-naive Timestamps with to\_json() with `iso_dates=True`[#](#serializing-tz-naive-timestamps-with-to-json-with-iso-dates-true "Link to this heading")
[`DataFrame.to_json()`](../reference/api/pandas.DataFrame.to_json.html#pandas.DataFrame.to_json "pandas.DataFrame.to_json"), [`Series.to_json()`](../ref... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
347d5f30-9f3b-59c0-a039-1b6eb52d67fa | changelog | pandas | pandas_whatsnew | 1.5.0 | 35 | ....: )
....:
In [4]: from io import StringIO
In [5]: a.to_json(date_format='iso')
Out[5]: '{"2020-12-28T00:00:00.000Z":0,"2020-12-28T01:00:00.000Z":1,"2020-12-28T02:00:00.000Z":2}'
In [6]: pd.read_json(StringIO(a.to_json(date_format='iso')), typ="series").index == a.index
Out[6]: array([False, False, False])
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
dcadb489-f0ca-56a5-bd7c-84122cb7a117 | changelog | pandas | pandas_whatsnew | 1.5.0 | 36 | Calling [`DataFrameGroupBy.value_counts()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.value_counts.html#pandas.core.groupby.DataFrameGroupBy.value_counts "pandas.core.groupby.DataFrameGroupBy.value_counts") with `observed=True` would incorrectly drop non-observed categories of non-grouping columns ([GH 4635... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
18f24da2-3136-598a-afd1-e3d8898a42bb | changelog | pandas | pandas_whatsnew | 1.5.0 | 37 | ### Increased minimum versions for dependencies[#](#increased-minimum-versions-for-dependencies "Link to this heading")
Some minimum supported versions of dependencies were updated.
If installed, we now require:
| Package | Minimum Version | Required | Changed |
| --- | --- | --- | --- |
| numpy | 1.20.3 | X | X |
| ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
bcc3fdeb-956b-54df-9751-6b8d9deee370 | changelog | pandas | pandas_whatsnew | 1.5.0 | 38 | For [optional libraries](https://pandas.pydata.org/docs/getting_started/install.html) the general recommendation is to use the latest version.
The following table lists the lowest version per library that is currently being tested throughout the development of pandas.
Optional libraries below the lowest tested version ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
af8f9c4e-00a2-5973-a880-cd637bf0ecec | changelog | pandas | pandas_whatsnew | 1.5.0 | 39 | | pyxlsb | 1.0.8 | X |
| s3fs | 2021.08.0 | X |
| scipy | 1.7.1 | X |
| sqlalchemy | 1.4.16 | X |
| tabulate | 0.8.9 | X |
| tzdata | 2022a | |
| xarray | 0.19.0 | X |
| xlrd | 2.0.1 | |
| xlsxwriter | 1.4.3 | X |
| xlwt | 1.3.0 | |
| zstandard | 0.15.2 | |
See [Dependencies](../getting_started/install.html#instal... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
3ad9f9a2-e9cc-5fa8-a68d-5f22cc6bf283 | changelog | pandas | pandas_whatsnew | 1.5.0 | 40 | The `auth_local_webserver = False` option is planned to stop working in
October 2022. ([GH 46312](https://github.com/pandas-dev/pandas/issues/46312))
* [`read_json()`](../reference/api/pandas.read_json.html#pandas.read_json "pandas.read_json") now raises `FileNotFoundError` (previously `ValueError`) when input is a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
308cc90a-1d89-5be3-aa4e-91616bd24540 | changelog | pandas | pandas_whatsnew | 1.5.0 | 41 | * When [`read_sas()`](../reference/api/pandas.read_sas.html#pandas.read_sas "pandas.read_sas") previously returned `None`, it now returns an empty [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") ([GH 47410](https://github.com/pandas-dev/pandas/issues/47410))
* [`DataFrame`](../... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
c4cf7a5f-06be-544a-a165-042d68d89d49 | changelog | pandas | pandas_whatsnew | 1.5.0 | 42 | having the [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") support all data types instead of having multiple subclasses ([`CategoricalIndex`](../reference/api/pandas.CategoricalIndex.html#pandas.CategoricalIndex "pandas.CategoricalIndex"), `Int64Index`, etc.), and more.
The changes under consi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
c7967d6a-341f-5011-83c3-eb8d41ce22e4 | changelog | pandas | pandas_whatsnew | 1.5.0 | 43 | In a future version, integer slicing on a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") with a `Int64Index` or [`RangeIndex`](../reference/api/pandas.RangeIndex.html#pandas.RangeIndex "pandas.RangeIndex") will be treated as *label-based*, not positional. This will make the behavior consi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
c829bc57-3db3-5750-bdfe-a652db129a70 | changelog | pandas | pandas_whatsnew | 1.5.0 | 44 | Slicing on a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") will not be affected.
### [`ExcelWriter`](../reference/api/pandas.ExcelWriter.html#pandas.ExcelWriter "pandas.ExcelWriter") attributes[#](#excelwriter-attributes "Link to this heading")
All attributes of [`ExcelWrit... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
8f265922-560d-577a-a728-95f370df9044 | changelog | pandas | pandas_whatsnew | 1.5.0 | 45 | The following attributes are now public and considered safe to access.
> * `book`
> * `check_extension`
> * `close`
> * `date_format`
> * `datetime_format`
> * `engine`
> * `if_sheet_exists`
> * `sheets`
> * `supported_extensions`
The following attributes have been deprecated. They now raise a `FutureWarning`
when ac... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
03c85d45-2ccc-5265-9c3f-5baff460952e | changelog | pandas | pandas_whatsnew | 1.5.0 | 46 | ### Using `group_keys` with transformers in [`DataFrameGroupBy.apply()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.apply.html#pandas.core.groupby.DataFrameGroupBy.apply "pandas.core.groupby.DataFrameGroupBy.apply") and [`SeriesGroupBy.apply()`](../reference/api/pandas.core.groupby.SeriesGroupBy.apply.html#p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
b73b2bc4-a21d-53bc-a4b3-5d731eae1cf3 | changelog | pandas | pandas_whatsnew | 1.5.0 | 47 | the input index), the `group_keys` argument of [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") and
[`Series.groupby()`](../reference/api/pandas.Series.groupby.html#pandas.Series.groupby "pandas.Series.groupby") was ignored and the group keys wo... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
702fd3ed-83a6-540f-9c6a-b117baaea248 | changelog | pandas | pandas_whatsnew | 1.5.0 | 48 | ### Inplace operation when setting values with `loc` and `iloc`[#](#inplace-operation-when-setting-values-with-loc-and-iloc "Link to this heading")
Most of the time setting values with [`DataFrame.iloc()`](../reference/api/pandas.DataFrame.iloc.html#pandas.DataFrame.iloc "pandas.DataFrame.iloc") attempts to set values... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
c279557c-5784-5451-b99b-b079cda75aa7 | changelog | pandas | pandas_whatsnew | 1.5.0 | 49 | iloc will attempt to operate inplace.
*Future behavior*:
```None
In [3]: df.iloc[:, 0] = new_prices
In [4]: df.iloc[:, 0]
Out[4]:
book1 98.0
book2 99.0
Name: price, dtype: float64
In [5]: original_prices
Out[5]:
book1 98.0
book2 99.0
Name: price, dtype: float64
```
To get the old behavior, use `DataFrame... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
e4d72307-efb5-5ddf-93f2-53c5b5839133 | changelog | pandas | pandas_whatsnew | 1.5.0 | 50 | book1 11.1
book2 12.2
Name: 0, dtype: float64
```
### `numeric_only` default value[#](#numeric-only-default-value "Link to this heading")
Across the [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame"), `DataFrameGroupBy`, and `Resampler` operations such as
`min`, `sum`, and... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
050ed3ae-ba13-5d38-a17a-d8b8672159b7 | changelog | pandas | pandas_whatsnew | 1.5.0 | 51 | all operations with a `numeric_only` argument will default to `False`. Users
should either call the operation only with columns that can be operated on, or
specify `numeric_only=True` to operate only on Boolean, integer, and float columns.
In order to support the transition to the new behavior, the following methods h... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
8e38f613-94ed-5f5b-adc4-d7b9c5673686 | changelog | pandas | pandas_whatsnew | 1.5.0 | 52 | * [`DataFrameGroupBy.cummin()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.cummin.html#pandas.core.groupby.DataFrameGroupBy.cummin "pandas.core.groupby.DataFrameGroupBy.cummin")
* [`DataFrameGroupBy.cummax()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.cummax.html#pandas.core.groupby.DataFrameGrou... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
855ef398-383c-5c99-9c71-c870105a43b9 | changelog | pandas | pandas_whatsnew | 1.5.0 | 53 | * [`DataFrameGroupBy.std()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.std.html#pandas.core.groupby.DataFrameGroupBy.std "pandas.core.groupby.DataFrameGroupBy.std")
* [`DataFrameGroupBy.sem()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.sem.html#pandas.core.groupby.DataFrameGroupBy.sem "pandas.co... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
06e56473-24a1-5e91-993d-bd9027b95de7 | changelog | pandas | pandas_whatsnew | 1.5.0 | 54 | * [`Resampler.std()`](../reference/api/pandas.core.resample.Resampler.std.html#pandas.core.resample.Resampler.std "pandas.core.resample.Resampler.std")
* [`Resampler.var()`](../reference/api/pandas.core.resample.Resampler.var.html#pandas.core.resample.Resampler.var "pandas.core.resample.Resampler.var")
* [`DataFrame.ro... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
9cb51491-29bb-54e7-b26b-06d66d69649a | changelog | pandas | pandas_whatsnew | 1.5.0 | 55 | * Deprecated the keyword `line_terminator` in [`DataFrame.to_csv()`](../reference/api/pandas.DataFrame.to_csv.html#pandas.DataFrame.to_csv "pandas.DataFrame.to_csv") and [`Series.to_csv()`](../reference/api/pandas.Series.to_csv.html#pandas.Series.to_csv "pandas.Series.to_csv"), use `lineterminator` instead; this is for... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
c0abdb06-230f-50a3-9afc-ea31e11ae538 | changelog | pandas | pandas_whatsnew | 1.5.0 | 56 | * Deprecated behavior of `SparseArray.astype()`, [`Series.astype()`](../reference/api/pandas.Series.astype.html#pandas.Series.astype "pandas.Series.astype"), and [`DataFrame.astype()`](../reference/api/pandas.DataFrame.astype.html#pandas.DataFrame.astype "pandas.DataFrame.astype") with [`SparseDtype`](../reference/api/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
8d60a894-5283-5c49-b0fe-6f8569a84644 | changelog | pandas | pandas_whatsnew | 1.5.0 | 57 | * Deprecated behavior of `DatetimeIndex.intersection()` and `DatetimeIndex.symmetric_difference()` (`union` behavior was already deprecated in version 1.3.0) with mixed time zones; in a future version both will be cast to UTC instead of object dtype ([GH 39328](https://github.com/pandas-dev/pandas/issues/39328), [GH 45... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
8c1597b0-4c31-505a-bddb-87a5b9d033f0 | changelog | pandas | pandas_whatsnew | 1.5.0 | 58 | * Deprecated `Series.is_monotonic()` and `Index.is_monotonic()` in favor of [`Series.is_monotonic_increasing()`](../reference/api/pandas.Series.is_monotonic_increasing.html#pandas.Series.is_monotonic_increasing "pandas.Series.is_monotonic_increasing") and [`Index.is_monotonic_increasing()`](../reference/api/pandas.Inde... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
584a3a6c-b2d8-58b3-9558-d4a45e2f8e27 | changelog | pandas | pandas_whatsnew | 1.5.0 | 59 | * Deprecated the `__array_wrap__` method of DataFrame and Series, rely on standard numpy ufuncs instead ([GH 45451](https://github.com/pandas-dev/pandas/issues/45451))
* Deprecated treating float-dtype data as wall-times when passed with a timezone to [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
463b112b-0acb-5368-b44d-983e9690abf8 | changelog | pandas | pandas_whatsnew | 1.5.0 | 60 | * Deprecated the `warn` parameter in [`infer_freq()`](../reference/api/pandas.infer_freq.html#pandas.infer_freq "pandas.infer_freq") ([GH 45947](https://github.com/pandas-dev/pandas/issues/45947))
* Deprecated allowing non-keyword arguments in [`ExtensionArray.argsort()`](../reference/api/pandas.api.extensions.Extensio... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
d2458032-4b7d-576f-9a4c-f037e72021d0 | changelog | pandas | pandas_whatsnew | 1.5.0 | 61 | * Deprecated behavior of method [`DataFrame.quantile()`](../reference/api/pandas.DataFrame.quantile.html#pandas.DataFrame.quantile "pandas.DataFrame.quantile"), attribute `numeric_only` will default False. Including datetime/timedelta columns in the result ([GH 7308](https://github.com/pandas-dev/pandas/issues/7308)).
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
3b14fbf4-6975-50f2-bb69-30b16a224db3 | changelog | pandas | pandas_whatsnew | 1.5.0 | 62 | * Deprecated passing positional arguments to [`DataFrame.pivot()`](../reference/api/pandas.DataFrame.pivot.html#pandas.DataFrame.pivot "pandas.DataFrame.pivot") and [`pivot()`](../reference/api/pandas.pivot.html#pandas.pivot "pandas.pivot") except `data` ([GH 30228](https://github.com/pandas-dev/pandas/issues/30228))
*... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
9891a172-7405-58d7-b6d3-18dcb5885021 | changelog | pandas | pandas_whatsnew | 1.5.0 | 63 | * Deprecated indexing on a timezone-naive [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") using a string representing a timezone-aware datetime ([GH 46903](https://github.com/pandas-dev/pandas/issues/46903), [GH 36148](https://github.com/pandas-dev/pandas/issues... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
ab1aebad-445f-5601-93de-9d0c1725868d | changelog | pandas | pandas_whatsnew | 1.5.0 | 64 | * Deprecated the argument `na_sentinel` in [`factorize()`](../reference/api/pandas.factorize.html#pandas.factorize "pandas.factorize"), [`Index.factorize()`](../reference/api/pandas.Index.factorize.html#pandas.Index.factorize "pandas.Index.factorize"), and [`ExtensionArray.factorize()`](../reference/api/pandas.api.exte... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
054edee2-1791-5a00-a535-3692ed5728c2 | changelog | pandas | pandas_whatsnew | 1.5.0 | 65 | * Clarified warning from [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") when delimited dates can’t be parsed in accordance to specified `dayfirst` argument ([GH 46210](https://github.com/pandas-dev/pandas/issues/46210))
* Emit warning from [`to_datetime()`](../refere... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
9b298169-df06-5189-bee1-4fdadf06ecb9 | changelog | pandas | pandas_whatsnew | 1.5.0 | 66 | * Deprecated [`Series.rank()`](../reference/api/pandas.Series.rank.html#pandas.Series.rank "pandas.Series.rank") returning an empty result when the dtype is non-numeric and `numeric_only=True` is provided; this will raise a `TypeError` in a future version ([GH 47500](https://github.com/pandas-dev/pandas/issues/47500))
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
17aca09a-b399-5ca2-9b1a-ec43113d1aef | changelog | pandas | pandas_whatsnew | 1.5.0 | 67 | * Deprecated arguments `*args` and `**kwargs` in `Rolling`, `Expanding`, and `ExponentialMovingWindow` ops. ([GH 47836](https://github.com/pandas-dev/pandas/issues/47836))
* Deprecated the `inplace` keyword in `Categorical.set_ordered()`, `Categorical.as_ordered()`, and `Categorical.as_unordered()` ([GH 37643](https://... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
2fb2eb29-046a-5b70-aa64-fff598317e7e | changelog | pandas | pandas_whatsnew | 1.5.0 | 68 | * Deprecated the `inplace` keyword in [`DataFrame.set_axis()`](../reference/api/pandas.DataFrame.set_axis.html#pandas.DataFrame.set_axis "pandas.DataFrame.set_axis") and [`Series.set_axis()`](../reference/api/pandas.Series.set_axis.html#pandas.Series.set_axis "pandas.Series.set_axis"), use `obj = obj.set_axis(..., copy... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
618e3595-e6c9-5687-8d85-b7c5ff8feebd | changelog | pandas | pandas_whatsnew | 1.5.0 | 69 | * Deprecated the `sort_columns` argument in [`DataFrame.plot()`](../reference/api/pandas.DataFrame.plot.html#pandas.DataFrame.plot "pandas.DataFrame.plot") and [`Series.plot()`](../reference/api/pandas.Series.plot.html#pandas.Series.plot "pandas.Series.plot") ([GH 47563](https://github.com/pandas-dev/pandas/issues/4756... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
caf4546a-e03c-54e7-b6d9-8b16ef087127 | changelog | pandas | pandas_whatsnew | 1.5.0 | 70 | * Deprecated the `mangle_dupe_cols` argument in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv"), [`read_fwf()`](../reference/api/pandas.read_fwf.html#pandas.read_fwf "pandas.read_fwf"), [`read_table()`](../reference/api/pandas.read_table.html#pandas.read_table "pandas.read_table"... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
cd4b7655-2c1b-5340-aa26-8477c7bd1fa6 | changelog | pandas | pandas_whatsnew | 1.5.0 | 71 | ## Performance improvements[#](#performance-improvements "Link to this heading")
* Performance improvement in [`DataFrame.corrwith()`](../reference/api/pandas.DataFrame.corrwith.html#pandas.DataFrame.corrwith "pandas.DataFrame.corrwith") for column-wise (axis=0) Pearson and Spearman correlation when other is a [`Serie... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
e8ae3143-b0d5-56b2-98c3-5449d7d68dda | changelog | pandas | pandas_whatsnew | 1.5.0 | 72 | * Performance improvement in [`DataFrame.duplicated()`](../reference/api/pandas.DataFrame.duplicated.html#pandas.DataFrame.duplicated "pandas.DataFrame.duplicated") when subset consists of only one column ([GH 45236](https://github.com/pandas-dev/pandas/issues/45236))
* Performance improvement in [`DataFrameGroupBy.dif... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
485a7462-1e53-585f-b410-61564cfae242 | changelog | pandas | pandas_whatsnew | 1.5.0 | 73 | * Performance improvement in [`DataFrameGroupBy.transform()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.transform.html#pandas.core.groupby.DataFrameGroupBy.transform "pandas.core.groupby.DataFrameGroupBy.transform") and [`SeriesGroupBy.transform()`](../reference/api/pandas.core.groupby.SeriesGroupBy.transfo... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
102c13ce-6bde-5274-8073-170c0c862385 | changelog | pandas | pandas_whatsnew | 1.5.0 | 74 | * Performance improvement in [`DataFrameGroupBy.transform()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.transform.html#pandas.core.groupby.DataFrameGroupBy.transform "pandas.core.groupby.DataFrameGroupBy.transform") and [`SeriesGroupBy.transform()`](../reference/api/pandas.core.groupby.SeriesGroupBy.transfo... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
6379231f-0c98-5622-a4fa-98926915405a | changelog | pandas | pandas_whatsnew | 1.5.0 | 75 | * Performance improvement in [`DataFrameGroupBy.apply()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.apply.html#pandas.core.groupby.DataFrameGroupBy.apply "pandas.core.groupby.DataFrameGroupBy.apply") and [`SeriesGroupBy.apply()`](../reference/api/pandas.core.groupby.SeriesGroupBy.apply.html#pandas.core.grou... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
02c1d811-1e22-5c43-8e24-a02895d1410e | changelog | pandas | pandas_whatsnew | 1.5.0 | 76 | * Performance improvement in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") and [`Series.loc()`](../reference/api/pandas.Series.loc.html#pandas.Series.loc "pandas.Series.loc") for tuple-based indexing of a [`MultiIndex`](../reference/api/pandas.MultiIndex.htm... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
0b0c1542-fa6e-5b8b-b17a-eddc49716c19 | changelog | pandas | pandas_whatsnew | 1.5.0 | 77 | * Performance improvement in [`DataFrame.to_records()`](../reference/api/pandas.DataFrame.to_records.html#pandas.DataFrame.to_records "pandas.DataFrame.to_records") when the index is a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") ([GH 47263](https://github.com/pandas-dev... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
40d4d99f-3058-5daa-abe9-29f5cca674a9 | changelog | pandas | pandas_whatsnew | 1.5.0 | 78 | * Performance improvement in [`DataFrame.reindex()`](../reference/api/pandas.DataFrame.reindex.html#pandas.DataFrame.reindex "pandas.DataFrame.reindex") and [`Series.reindex()`](../reference/api/pandas.Series.reindex.html#pandas.Series.reindex "pandas.Series.reindex") when target is a [`MultiIndex`](../reference/api/pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
f80d75bd-620e-59f8-aae0-4733c8f011d5 | changelog | pandas | pandas_whatsnew | 1.5.0 | 79 | * Performance improvement in [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") and [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") constructors for extension dtype scalars ([GH 45854](https://github.com/pandas-dev/pandas/issues/45854))
* Performance ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
317ebba6-3731-5d27-8a28-6b0d11b4901c | changelog | pandas | pandas_whatsnew | 1.5.0 | 80 | * Performance improvement in `BusinessHour` `str` and `repr` ([GH 44764](https://github.com/pandas-dev/pandas/issues/44764))
* Performance improvement in datetime arrays string formatting when one of the default strftime formats `"%Y-%m-%d %H:%M:%S"` or `"%Y-%m-%d %H:%M:%S.%f"` is used. ([GH 44764](https://github.com/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
f35b8b1b-76df-53d9-b191-70955d5d62a3 | changelog | pandas | pandas_whatsnew | 1.5.0 | 81 | * Performance improvement in `argmax` and `argmin` for [`arrays.SparseArray`](../reference/api/pandas.arrays.SparseArray.html#pandas.arrays.SparseArray "pandas.arrays.SparseArray") ([GH 34197](https://github.com/pandas-dev/pandas/issues/34197))
## Bug fixes[#](#bug-fixes "Link to this heading")
### Categorical[#](#ca... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
ebaa0ac2-1657-583b-a079-3ecf03ae95ca | changelog | pandas | pandas_whatsnew | 1.5.0 | 82 | * Bug in [`concat()`](../reference/api/pandas.concat.html#pandas.concat "pandas.concat") when concatenating two (or more) unordered [`CategoricalIndex`](../reference/api/pandas.CategoricalIndex.html#pandas.CategoricalIndex "pandas.CategoricalIndex") variables, whose categories are permutations, yields incorrect index v... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
6889ca16-f793-5363-8ad1-da9da42656ff | changelog | pandas | pandas_whatsnew | 1.5.0 | 83 | * Bug in [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") construction when passing datetime components as positional arguments and `tzinfo` as a keyword argument incorrectly raising ([GH 31929](https://github.com/pandas-dev/pandas/issues/31929))
* Bug in [`Index.astype()`](../r... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
259a7adf-3399-5aab-972b-11c4bc88dd4d | changelog | pandas | pandas_whatsnew | 1.5.0 | 84 | * Bug in [`DatetimeIndex.tz_localize()`](../reference/api/pandas.DatetimeIndex.tz_localize.html#pandas.DatetimeIndex.tz_localize "pandas.DatetimeIndex.tz_localize") localizing to UTC failing to make a copy of the underlying data ([GH 46460](https://github.com/pandas-dev/pandas/issues/46460))
* Bug in `DatetimeIndex.res... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
f2413df5-fcf6-5135-aac6-1913974a88fd | changelog | pandas | pandas_whatsnew | 1.5.0 | 85 | * Bug in [`DatetimeArray`](../reference/api/pandas.arrays.DatetimeArray.html#pandas.arrays.DatetimeArray "pandas.arrays.DatetimeArray") construction when passed another [`DatetimeArray`](../reference/api/pandas.arrays.DatetimeArray.html#pandas.arrays.DatetimeArray "pandas.arrays.DatetimeArray") and `freq=None` incorrec... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
9baa845b-d60e-5234-b703-e5b72724e13c | changelog | pandas | pandas_whatsnew | 1.5.0 | 86 | ### Timedelta[#](#timedelta "Link to this heading")
* Bug in `astype_nansafe()` astype(“timedelta64[ns]”) fails when np.nan is included ([GH 45798](https://github.com/pandas-dev/pandas/issues/45798))
* Bug in constructing a [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") with ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
15a976eb-3848-51c7-a33e-c423edb01bfe | changelog | pandas | pandas_whatsnew | 1.5.0 | 87 | ### Time Zones[#](#time-zones "Link to this heading")
* Bug in [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") constructor raising when passed a `ZoneInfo` tzinfo object ([GH 46425](https://github.com/pandas-dev/pandas/issues/46425))
### Numeric[#](#numeric "Link to this head... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
0dcd27ee-28f1-5708-a0ea-6ac9296ee1ac | changelog | pandas | pandas_whatsnew | 1.5.0 | 88 | * Bug in division, `pow` and `mod` operations on array-likes with `dtype="boolean"` not being like their `np.bool_` counterparts ([GH 46063](https://github.com/pandas-dev/pandas/issues/46063))
* Bug in multiplying a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") with `IntegerDtype` or `Fl... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
a9faa708-67dc-5825-8fb2-d70ffa70afee | changelog | pandas | pandas_whatsnew | 1.5.0 | 89 | * Bug in [`DataFrame.astype()`](../reference/api/pandas.DataFrame.astype.html#pandas.DataFrame.astype "pandas.DataFrame.astype") not preserving subclasses ([GH 40810](https://github.com/pandas-dev/pandas/issues/40810))
* Bug in constructing a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series")... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
23a1b336-bf4e-56d0-9b56-b3a59bd83c2f | changelog | pandas | pandas_whatsnew | 1.5.0 | 90 | * Bug in [`Series.astype()`](../reference/api/pandas.Series.astype.html#pandas.Series.astype "pandas.Series.astype") and [`DataFrame.astype()`](../reference/api/pandas.DataFrame.astype.html#pandas.DataFrame.astype "pandas.DataFrame.astype") from floating dtype to unsigned integer dtype failing to raise in the presence ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
649204e6-bce7-55c1-9f9b-55ab9606b455 | changelog | pandas | pandas_whatsnew | 1.5.0 | 91 | * Bug in metaclass of generic abstract dtypes causing [`DataFrame.apply()`](../reference/api/pandas.DataFrame.apply.html#pandas.DataFrame.apply "pandas.DataFrame.apply") and [`Series.apply()`](../reference/api/pandas.Series.apply.html#pandas.Series.apply "pandas.Series.apply") to raise for the built-in function `type` ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
314093f0-14ed-5302-8399-21469511f756 | changelog | pandas | pandas_whatsnew | 1.5.0 | 92 | * Bug in [`DataFrame.apply()`](../reference/api/pandas.DataFrame.apply.html#pandas.DataFrame.apply "pandas.DataFrame.apply") that returns a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") instead of a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series")... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
88d9f4c1-ef84-5fb5-a2a2-2ee976914f62 | changelog | pandas | pandas_whatsnew | 1.5.0 | 93 | ### Strings[#](#strings "Link to this heading")
* Bug in [`str.startswith()`](https://docs.python.org/3/library/stdtypes.html#str.startswith "(in Python v3.13)") and [`str.endswith()`](https://docs.python.org/3/library/stdtypes.html#str.endswith "(in Python v3.13)") when using other series as parameter \_pat\_. Now ra... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
a8f514c3-c01c-55b6-b13a-2f676d6a7fe1 | changelog | pandas | pandas_whatsnew | 1.5.0 | 94 | * Bug in [`IntervalDtype`](../reference/api/pandas.IntervalDtype.html#pandas.IntervalDtype "pandas.IntervalDtype") when using datetime64[ns, tz] as a dtype string ([GH 46999](https://github.com/pandas-dev/pandas/issues/46999))
### Indexing[#](#indexing "Link to this heading")
* Bug in [`DataFrame.iloc()`](../referenc... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
3a0649e3-4439-53ca-bae8-d7ced824b033 | changelog | pandas | pandas_whatsnew | 1.5.0 | 95 | * Bug in [`Series.align()`](../reference/api/pandas.Series.align.html#pandas.Series.align "pandas.Series.align") does not create [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") with union of levels when both MultiIndexes intersections are identical ([GH 45224](https://githu... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
1d314cd2-3d63-569f-ad46-0517dbb24262 | changelog | pandas | pandas_whatsnew | 1.5.0 | 96 | * Bug in indexing setting values into an `ExtensionDtype` column with `df.iloc[:, i] = values` with `values` having the same dtype as `df.iloc[:, i]` incorrectly inserting a new array instead of setting in-place ([GH 33457](https://github.com/pandas-dev/pandas/issues/33457))
* Bug in `Series.__setitem__()` with a non-i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
8b677dde-3cc8-53c4-aa51-7a3364fd7b62 | changelog | pandas | pandas_whatsnew | 1.5.0 | 97 | * Bug in `Series.__setitem__()` when setting incompatible values into a `PeriodDtype` or `IntervalDtype` [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") raising when indexing with a boolean mask but coercing when indexing with otherwise-equivalent indexers; these now consistently coerce, a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
109d8cff-fef7-567f-a8ee-8f6372220f10 | changelog | pandas | pandas_whatsnew | 1.5.0 | 98 | * Bug in `isin()` upcasting to `float64` with unsigned integer dtype and list-like argument without a dtype ([GH 46485](https://github.com/pandas-dev/pandas/issues/46485))
* Bug in `Series.loc.__setitem__()` and `Series.loc.__getitem__()` not raising when using multiple keys without using a [`MultiIndex`](../reference/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
f38e5a37-1eaa-5a05-a46e-043633d14781 | changelog | pandas | pandas_whatsnew | 1.5.0 | 99 | * Bug when setting a value too large for a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") dtype failing to coerce to a common type ([GH 26049](https://github.com/pandas-dev/pandas/issues/26049), [GH 32878](https://github.com/pandas-dev/pandas/issues/32878))
* Bug in `loc.__setitem__()` tr... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
d7bf1600-ccaf-5764-985e-18e9eafcb7f5 | changelog | pandas | pandas_whatsnew | 1.5.0 | 100 | * Bug in `Series.__setitem__()` when setting `boolean` dtype values containing `NA` incorrectly raising instead of casting to `boolean` dtype ([GH 45462](https://github.com/pandas-dev/pandas/issues/45462))
* Bug in [`Series.loc()`](../reference/api/pandas.Series.loc.html#pandas.Series.loc "pandas.Series.loc") raising w... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
64e0ecb5-def4-5ffe-b4b8-c8c8a3643cc6 | changelog | pandas | pandas_whatsnew | 1.5.0 | 101 | * Bug in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") when setting values to a column and right hand side is a dictionary ([GH 47216](https://github.com/pandas-dev/pandas/issues/47216))
* Bug in `Series.__setitem__()` with `datetime64[ns]` dtype, an all-`Fa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
b6a79fbd-dd3b-543a-9a39-e7e1c8333c8d | changelog | pandas | pandas_whatsnew | 1.5.0 | 102 | * Bug in [`Series.mask()`](../reference/api/pandas.Series.mask.html#pandas.Series.mask "pandas.Series.mask") with `inplace=True` or setting values with a boolean mask with small integer dtypes incorrectly raising ([GH 45750](https://github.com/pandas-dev/pandas/issues/45750))
* Bug in [`DataFrame.mask()`](../reference/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
37f242d7-8631-5e8e-b3f6-a40feb1abf62 | changelog | pandas | pandas_whatsnew | 1.5.0 | 103 | * Bug in [`DataFrame.compare()`](../reference/api/pandas.DataFrame.compare.html#pandas.DataFrame.compare "pandas.DataFrame.compare") returning all `NaN` column when comparing extension array dtype and numpy dtype ([GH 44014](https://github.com/pandas-dev/pandas/issues/44014))
* Bug in [`DataFrame.where()`](../reference... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
821440b7-e9f1-5547-9ca7-a3c8b9810c89 | changelog | pandas | pandas_whatsnew | 1.5.0 | 104 | * Bug in `CategoricalIndex.get_indexer()` when index contains `NaN` values, resulting in elements that are in target but not present in the index to be mapped to the index of the NaN element, instead of -1 ([GH 45361](https://github.com/pandas-dev/pandas/issues/45361))
* Bug in setting large integer values into [`Serie... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
2def0b2c-0a41-5ebe-84fe-bdf48de07ef3 | changelog | pandas | pandas_whatsnew | 1.5.0 | 105 | * Bug in `NDFrame.xs()`, [`DataFrame.iterrows()`](../reference/api/pandas.DataFrame.iterrows.html#pandas.DataFrame.iterrows "pandas.DataFrame.iterrows"), [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") and [`DataFrame.iloc()`](../reference/api/pandas.DataFrame... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
e4f8930d-d360-5acc-8c29-1fb906dba934 | changelog | pandas | pandas_whatsnew | 1.5.0 | 106 | * Bug in [`PeriodIndex`](../reference/api/pandas.PeriodIndex.html#pandas.PeriodIndex "pandas.PeriodIndex") raising `AttributeError` when indexing on `NA`, rather than putting `NaT` in its place. ([GH 46673](https://github.com/pandas-dev/pandas/issues/46673))
* Bug in [`DataFrame.at()`](../reference/api/pandas.DataFrame... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
0f3ee6f5-f6b1-594a-9677-9c225d77206c | changelog | pandas | pandas_whatsnew | 1.5.0 | 107 | * Bug in [`Series.fillna()`](../reference/api/pandas.Series.fillna.html#pandas.Series.fillna "pandas.Series.fillna") and [`DataFrame.fillna()`](../reference/api/pandas.DataFrame.fillna.html#pandas.DataFrame.fillna "pandas.DataFrame.fillna") with [`IntervalDtype`](../reference/api/pandas.IntervalDtype.html#pandas.Interv... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
8228b5ae-ca25-5df3-b8e5-fbf75695bab4 | changelog | pandas | pandas_whatsnew | 1.5.0 | 108 | * Bug in [`DataFrame.interpolate()`](../reference/api/pandas.DataFrame.interpolate.html#pandas.DataFrame.interpolate "pandas.DataFrame.interpolate") with object-dtype column not returning a copy with `inplace=False` ([GH 45791](https://github.com/pandas-dev/pandas/issues/45791))
* Bug in [`DataFrame.dropna()`](../refer... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
b41c84da-9ee4-581d-a540-64145d62ae0c | changelog | pandas | pandas_whatsnew | 1.5.0 | 109 | ### MultiIndex[#](#multiindex "Link to this heading")
* Bug in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") returning empty result when slicing a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") with a negative ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
eea2f1b2-6421-547d-808d-4380c42d476a | changelog | pandas | pandas_whatsnew | 1.5.0 | 110 | * Bug in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") raising when slicing a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") with a negative step size and slicing a non-int labeled index level ([GH 46156](https:... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
157d21e0-98bd-5ef5-9be6-80459569458a | changelog | pandas | pandas_whatsnew | 1.5.0 | 111 | * Bug in [`MultiIndex.from_tuples()`](../reference/api/pandas.MultiIndex.from_tuples.html#pandas.MultiIndex.from_tuples "pandas.MultiIndex.from_tuples") cannot construct Index of empty tuples ([GH 45608](https://github.com/pandas-dev/pandas/issues/45608))
### I/O[#](#i-o "Link to this heading")
* Bug in [`DataFrame.t... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
ea0e911a-9d95-5cba-b3e6-fd73bf142f2c | changelog | pandas | pandas_whatsnew | 1.5.0 | 112 | * Bug in [`DataFrame.info()`](../reference/api/pandas.DataFrame.info.html#pandas.DataFrame.info "pandas.DataFrame.info") where a new line at the end of the output is omitted when called on an empty [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") ([GH 45494](https://github.com/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
6ffdfbb8-f456-562a-9d43-93b3e4069a88 | changelog | pandas | pandas_whatsnew | 1.5.0 | 113 | * Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") not respecting a specified converter to index columns in all cases ([GH 40589](https://github.com/pandas-dev/pandas/issues/40589))
* Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_c... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
3a3dd1f7-8531-53df-b4cf-ef9e1572c827 | changelog | pandas | pandas_whatsnew | 1.5.0 | 114 | * Bug in [`DataFrame.to_excel()`](../reference/api/pandas.DataFrame.to_excel.html#pandas.DataFrame.to_excel "pandas.DataFrame.to_excel") and [`ExcelWriter`](../reference/api/pandas.ExcelWriter.html#pandas.ExcelWriter "pandas.ExcelWriter") would raise when writing an empty DataFrame to a `.ods` file ([GH 45793](https://... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.5.0.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.