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 |
|---|---|---|---|---|---|---|---|
367bad09-b54a-5ddd-ad2c-98dce58e13dd | changelog | pandas | pandas_whatsnew | 1.0.5 | 0 | # What's new in pandas 1.0.5
Source: https://pandas.pydata.org/docs/whatsnew/v1.0.5.html
# What’s new in 1.0.5 (June 17, 2020)[#](#what-s-new-in-1-0-5-june-17-2020 "Link to this heading")
These are the changes in pandas 1.0.5. See [Release notes](index.html#release) for a full changelog
including other versions of p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.0.5.md |
55ec2ffd-871e-5fca-bd15-248c37906fe3 | changelog | pandas | pandas_whatsnew | 1.0.5 | 1 | but is now targeted for pandas 1.1.0.
* Fixed regression in [`replace()`](../reference/api/pandas.DataFrame.replace.html#pandas.DataFrame.replace "pandas.DataFrame.replace") raising an `AssertionError` when replacing values in an extension dtype with values of a different dtype ([GH 34530](https://github.com/pandas-de... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.0.5.md |
7bc0c3a3-ef55-526c-b00f-f993c3d45dd3 | changelog | pandas | pandas_whatsnew | 1.1.0 | 0 | # What's new in pandas 1.1.0
Source: https://pandas.pydata.org/docs/whatsnew/v1.1.0.html
# What’s new in 1.1.0 (July 28, 2020)[#](#what-s-new-in-1-1-0-july-28-2020 "Link to this heading")
These are the changes in pandas 1.1.0. See [Release notes](index.html#release) for a full changelog
including other versions of p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
53842b6a-fd6d-5674-a2e7-3309d509a47a | changelog | pandas | pandas_whatsnew | 1.1.0 | 1 | ### All dtypes can now be converted to `StringDtype`[#](#all-dtypes-can-now-be-converted-to-stringdtype "Link to this heading")
Previously, declaring or converting to [`StringDtype`](../reference/api/pandas.StringDtype.html#pandas.StringDtype "pandas.StringDtype") was in general only possible if the data was already o... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
c0bc751b-e015-5a97-ad51-65ccef9502f6 | changelog | pandas | pandas_whatsnew | 1.1.0 | 2 | ### Non-monotonic PeriodIndex partial string slicing[#](#non-monotonic-periodindex-partial-string-slicing "Link to this heading")
[`PeriodIndex`](../reference/api/pandas.PeriodIndex.html#pandas.PeriodIndex "pandas.PeriodIndex") now supports partial string slicing for non-monotonic indexes, mirroring [`DatetimeIndex`](... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
a206d588-8c62-52fd-9295-4b9c332cb7ee | changelog | pandas | pandas_whatsnew | 1.1.0 | 3 | ```None
In [11]: ser["2014"]
Out[11]:
2014-01-01 0
2014-03-02 2
2014-05-01 4
2014-06-30 6
2014-08-29 8
2014-10-28 10
2014-12-27 12
2014-01-31 1
2014-04-01 3
2014-05-31 5
2014-07-30 7
2014-09-28 9
2014-11-27 11
Freq: D, Length: 13, dtype: int64
In [12]: ser.loc["May 201... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
fe031ee3-9932-5ece-90c5-7e01144fa9a8 | changelog | pandas | pandas_whatsnew | 1.1.0 | 4 | ....: "col1": ["a", "a", "b", "b", "a"],
....: "col2": [1.0, 2.0, 3.0, np.nan, 5.0],
....: "col3": [1.0, 2.0, 3.0, 4.0, 5.0]
....: },
....: columns=["col1", "col2", "col3"],
....: )
....:
In [14]: df
Out[14]:
col1 col2 col3
0 a 1.0 1.0
1 a 2.0 2.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
d2077e66-7c1f-57fa-977c-b04abf77a664 | changelog | pandas | pandas_whatsnew | 1.1.0 | 5 | ### Allow NA in groupby key[#](#allow-na-in-groupby-key "Link to this heading")
With [groupby](../user_guide/groupby.html#groupby-dropna) , we’ve added a `dropna` keyword to [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") and [`Series.groupby(... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
8faa60bc-12d7-5e22-9fcc-37673871be99 | changelog | pandas | pandas_whatsnew | 1.1.0 | 6 | # Default ``dropna`` is set to True, which will exclude NaNs in keys
In [23]: df_dropna.groupby(by=["b"], dropna=True).sum()
Out[23]:
a c
b
1.0 2 3
2.0 2 5
[2 rows x 2 columns]
# In order to allow NaN in keys, set ``dropna`` to False
In [24]: df_dropna.groupby(by=["b"], dropna=False).sum()
Out[24]:... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
b820855e-7b02-5ac8-8844-a723de2fb0b2 | changelog | pandas | pandas_whatsnew | 1.1.0 | 7 | [`DataFrame.sort_values()`](../reference/api/pandas.DataFrame.sort_values.html#pandas.DataFrame.sort_values "pandas.DataFrame.sort_values"), [`DataFrame.sort_index()`](../reference/api/pandas.DataFrame.sort_index.html#pandas.DataFrame.sort_index "pandas.DataFrame.sort_index"), [`Series.sort_values()`](../reference/api/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
b01eb931-00ac-59f9-9824-8031d20c17c1 | changelog | pandas | pandas_whatsnew | 1.1.0 | 8 | Length: 3, dtype: object
```
```None
In [27]: s.sort_values()
Out[27]:
2 B
0 C
1 a
Length: 3, dtype: object
```
Note how this is sorted with capital letters first. If we apply the [`Series.str.lower()`](../reference/api/pandas.Series.str.lower.html#pandas.Series.str.lower "pandas.Series.str.lower")
method, ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
b943c8e3-0b29-58c3-9610-c712ab4f05c9 | changelog | pandas | pandas_whatsnew | 1.1.0 | 9 | For more details, see examples and documentation in [`DataFrame.sort_values()`](../reference/api/pandas.DataFrame.sort_values.html#pandas.DataFrame.sort_values "pandas.DataFrame.sort_values"),
[`Series.sort_values()`](../reference/api/pandas.Series.sort_values.html#pandas.Series.sort_values "pandas.Series.sort_values")... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
dbd0e008-5430-5890-a8ee-2fca1ed9df17 | changelog | pandas | pandas_whatsnew | 1.1.0 | 10 | `Timestamp:` now supports the keyword-only fold argument according to [PEP 495](https://www.python.org/dev/peps/pep-0495/#the-fold-attribute) similar to parent `datetime.datetime` class. It supports both accepting fold as an initialization argument and inferring fold from other constructor arguments ([GH 25057](https:/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
1f913d0b-8626-5c5d-8173-5069e09e4bb9 | changelog | pandas | pandas_whatsnew | 1.1.0 | 11 | ### Parsing timezone-aware format with different timezones in to\_datetime[#](#parsing-timezone-aware-format-with-different-timezones-in-to-datetime "Link to this heading")
[`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") now supports parsing formats containing timezo... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
b13ab689-7fd6-5704-81ad-3167dea633da | changelog | pandas | pandas_whatsnew | 1.1.0 | 12 | In [37]: pd.to_datetime(tz_strs, format='%Y-%m-%d %H:%M:%S %z', utc=True)
Out[37]:
DatetimeIndex(['2010-01-01 11:00:00+00:00', '2010-01-01 13:00:00+00:00',
'2010-01-01 09:00:00+00:00', '2010-01-01 08:00:00+00:00'],
dtype='datetime64[ns, UTC]', freq=None)
```
```None
In[37]: pd.to_datetime... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
6eeda169-bec9-5f5c-ab81-4baf14460ea5 | changelog | pandas | pandas_whatsnew | 1.1.0 | 13 | [`Grouper`](../reference/api/pandas.Grouper.html#pandas.Grouper "pandas.Grouper") and [`DataFrame.resample()`](../reference/api/pandas.DataFrame.resample.html#pandas.DataFrame.resample "pandas.DataFrame.resample") now supports the arguments `origin` and `offset`. It let the user control the timestamp on which to adjust... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
1b4b7f55-243a-5640-9de6-a6afe2b234b2 | changelog | pandas | pandas_whatsnew | 1.1.0 | 14 | * `base` should be replaced by `offset`.
* `loffset` should be replaced by directly adding an offset to the index [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") after being resampled.
Small example of the use of `origin`:
```None
In [38]: start, end = '2000-10-01 23:30:00', ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
7620ee96-93be-5894-ad32-0bdd423c585e | changelog | pandas | pandas_whatsnew | 1.1.0 | 15 | 2000-10-02 00:05:00 54
2000-10-02 00:22:00 24
Freq: 17min, Length: 5, dtype: int64
In [44]: ts.resample('17min', origin='start_day').sum()
Out[44]:
2000-10-01 23:14:00 0
2000-10-01 23:31:00 9
2000-10-01 23:48:00 21
2000-10-02 00:05:00 54
2000-10-02 00:22:00 24
Freq: 17min, Length: 5, dtype: int... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
1650a03d-c5f5-509f-86ac-b30b4cc61394 | changelog | pandas | pandas_whatsnew | 1.1.0 | 16 | For a full example, see: [Use origin or offset to adjust the start of the bins](../user_guide/timeseries.html#timeseries-adjust-the-start-of-the-bins).
### fsspec now used for filesystem handling[#](#fsspec-now-used-for-filesystem-handling "Link to this heading")
For reading and writing to filesystems other than loca... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
d6793e47-c13d-5a06-82d7-8dfbb3a276ab | changelog | pandas | pandas_whatsnew | 1.1.0 | 17 | ### Other enhancements[#](#other-enhancements "Link to this heading")
* Compatibility with matplotlib 3.3.0 ([GH 34850](https://github.com/pandas-dev/pandas/issues/34850))
* `IntegerArray.astype()` now supports `datetime64` dtype ([GH 32538](https://github.com/pandas-dev/pandas/issues/32538))
* `IntegerArray` now impl... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
1a2dd9c6-4463-5a30-83bd-72726f7f6b4a | changelog | pandas | pandas_whatsnew | 1.1.0 | 18 | * Added a [`pandas.api.indexers.FixedForwardWindowIndexer()`](../reference/api/pandas.api.indexers.FixedForwardWindowIndexer.html#pandas.api.indexers.FixedForwardWindowIndexer "pandas.api.indexers.FixedForwardWindowIndexer") class to support forward-looking windows during `rolling` operations.
* Added a [`pandas.api.in... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
abfad8fc-41b1-5c69-8217-f19a714c42cd | changelog | pandas | pandas_whatsnew | 1.1.0 | 19 | * [`Styler`](../reference/api/pandas.io.formats.style.Styler.html#pandas.io.formats.style.Styler "pandas.io.formats.style.Styler") may now render CSS more efficiently where multiple cells have the same styling ([GH 30876](https://github.com/pandas-dev/pandas/issues/30876))
* [`highlight_null()`](../reference/api/pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
8c7d47c3-76f9-54cb-a0ca-f0c697722ba3 | changelog | pandas | pandas_whatsnew | 1.1.0 | 20 | * [`pandas.errors.OptionError`](../reference/api/pandas.errors.OptionError.html#pandas.errors.OptionError "pandas.errors.OptionError") is now exposed in `pandas.errors` ([GH 27553](https://github.com/pandas-dev/pandas/issues/27553))
* Added `api.extensions.ExtensionArray.argmax()` and `api.extensions.ExtensionArray.arg... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
0310e1e0-cb14-5d15-9178-2d6d465a7e94 | changelog | pandas | pandas_whatsnew | 1.1.0 | 21 | * [`Series.str`](../reference/api/pandas.Series.str.html#pandas.Series.str "pandas.Series.str") now has a `fullmatch` method that matches a regular expression against the entire string in each row of the [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), similar to `re.fullmatch` ([GH 32806]... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
4cb6b3c6-151a-59f3-9068-61272d85db4a | changelog | pandas | pandas_whatsnew | 1.1.0 | 22 | * [`Index.union()`](../reference/api/pandas.Index.union.html#pandas.Index.union "pandas.Index.union") will now raise `RuntimeWarning` for [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") objects if the object inside are unsortable. Pass `sort=False` to suppress this warning ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
afe9195d-b917-5b79-85c9-655ad1b934e1 | changelog | pandas | pandas_whatsnew | 1.1.0 | 23 | * The [`DataFrame.to_feather()`](../reference/api/pandas.DataFrame.to_feather.html#pandas.DataFrame.to_feather "pandas.DataFrame.to_feather") method now supports additional keyword
arguments (e.g. to set the compression) that are added in pyarrow 0.17
([GH 33422](https://github.com/pandas-dev/pandas/issues/33422)).... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
29d698fa-536a-5ad2-b2b4-b3cab1f8c248 | changelog | pandas | pandas_whatsnew | 1.1.0 | 24 | compression arguments when using the `gzip` and `bz2` protocols.
This can be used to set a custom compression level, e.g.,
`df.to_csv(path, compression={'method': 'gzip', 'compresslevel': 1}`
([GH 33196](https://github.com/pandas-dev/pandas/issues/33196))
* [`melt()`](../reference/api/pandas.melt.html#pandas.me... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
ac010295-1ddc-5319-b7d5-c19cef703da0 | changelog | pandas | pandas_whatsnew | 1.1.0 | 25 | * [`DataFrameGroupBy.transform()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.transform.html#pandas.core.groupby.DataFrameGroupBy.transform "pandas.core.groupby.DataFrameGroupBy.transform") and [`DataFrameGroupBy.aggregate()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.aggregate.html#pandas.core.g... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
45ee9370-5a27-53dc-bf4a-00f723d36858 | changelog | pandas | pandas_whatsnew | 1.1.0 | 26 | * [`Resampler.interpolate()`](../reference/api/pandas.core.resample.Resampler.interpolate.html#pandas.core.resample.Resampler.interpolate "pandas.core.resample.Resampler.interpolate") now supports SciPy interpolation method [`scipy.interpolate.CubicSpline`](https://docs.scipy.org/doc/scipy/reference/generated/scipy.int... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
bae271a6-1601-5bd6-a1ea-0ccd24cba36a | changelog | pandas | pandas_whatsnew | 1.1.0 | 27 | * Added `api.extension.ExtensionArray.equals` to the extension array interface, similar to [`Series.equals()`](../reference/api/pandas.Series.equals.html#pandas.Series.equals "pandas.Series.equals") ([GH 27081](https://github.com/pandas-dev/pandas/issues/27081))
* The minimum supported dta version has increased to 105 ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
16f90ca7-7347-51f8-88a2-1f503cda22ce | changelog | pandas | pandas_whatsnew | 1.1.0 | 28 | and `StataWriterUTF8` ([GH 26599](https://github.com/pandas-dev/pandas/issues/26599)).
* [`HDFStore.put()`](../reference/api/pandas.HDFStore.put.html#pandas.HDFStore.put "pandas.HDFStore.put") now accepts a `track_times` parameter. This parameter is passed to the `create_table` method of `PyTables` ([GH 32682](https:... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
ec39db75-bdc7-59aa-b9ff-06a2fad0d5a6 | changelog | pandas | pandas_whatsnew | 1.1.0 | 29 | * Made `option_context` a [`contextlib.ContextDecorator`](https://docs.python.org/3/library/contextlib.html#contextlib.ContextDecorator "(in Python v3.13)"), which allows it to be used as a decorator over an entire function ([GH 34253](https://github.com/pandas-dev/pandas/issues/34253)).
* [`DataFrame.to_csv()`](../ref... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
943d0e30-b683-58a2-bf58-4a41d289e56c | changelog | pandas | pandas_whatsnew | 1.1.0 | 30 | * [`DataFrame.hist()`](../reference/api/pandas.DataFrame.hist.html#pandas.DataFrame.hist "pandas.DataFrame.hist"), [`Series.hist()`](../reference/api/pandas.Series.hist.html#pandas.Series.hist "pandas.Series.hist"), [`core.groupby.DataFrameGroupBy.hist()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.hist.html... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
078bace9-9e68-582c-bdcd-db0972234329 | changelog | pandas | pandas_whatsnew | 1.1.0 | 31 | result in object dtype but preserve the integer dtype ([GH 33607](https://github.com/pandas-dev/pandas/issues/33607), [GH 34339](https://github.com/pandas-dev/pandas/issues/34339), [GH 34095](https://github.com/pandas-dev/pandas/issues/34095)).
* [`read_gbq()`](../reference/api/pandas.read_gbq.html#pandas.read_gbq "p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
1283410b-c599-516f-9270-575955346cdf | changelog | pandas | pandas_whatsnew | 1.1.0 | 32 | * [`DataFrame.cov()`](../reference/api/pandas.DataFrame.cov.html#pandas.DataFrame.cov "pandas.DataFrame.cov") and [`Series.cov()`](../reference/api/pandas.Series.cov.html#pandas.Series.cov "pandas.Series.cov") now support a new parameter `ddof` to support delta degrees of freedom as in the corresponding numpy methods (... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
a5bc7d70-2a74-5302-9d39-057b3b34248c | changelog | pandas | pandas_whatsnew | 1.1.0 | 33 | * [`DataFrame.to_excel()`](../reference/api/pandas.DataFrame.to_excel.html#pandas.DataFrame.to_excel "pandas.DataFrame.to_excel") can now also write OpenOffice spreadsheet (.ods) files ([GH 27222](https://github.com/pandas-dev/pandas/issues/27222))
* [`explode()`](../reference/api/pandas.Series.explode.html#pandas.Seri... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
f4e95eee-7f8b-5e33-a5d2-8427bbe5b17f | changelog | pandas | pandas_whatsnew | 1.1.0 | 34 | * [`DataFrame.to_markdown()`](../reference/api/pandas.DataFrame.to_markdown.html#pandas.DataFrame.to_markdown "pandas.DataFrame.to_markdown") and [`Series.to_markdown()`](../reference/api/pandas.Series.to_markdown.html#pandas.Series.to_markdown "pandas.Series.to_markdown") now accept `index` argument as an alias for ta... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
856a5560-c1bd-51d1-aac2-875b7e2b5c3d | changelog | pandas | pandas_whatsnew | 1.1.0 | 35 | * [`DataFrame.agg()`](../reference/api/pandas.DataFrame.agg.html#pandas.DataFrame.agg "pandas.DataFrame.agg") and [`Series.agg()`](../reference/api/pandas.Series.agg.html#pandas.Series.agg "pandas.Series.agg") now accept named aggregation for renaming the output columns/indexes. ([GH 26513](https://github.com/pandas-de... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
3c133bf1-af70-5ac3-8609-dd547c42cbfc | changelog | pandas | pandas_whatsnew | 1.1.0 | 36 | * [`Series.plot()`](../reference/api/pandas.Series.plot.html#pandas.Series.plot "pandas.Series.plot") now supports asymmetric error bars. Previously, if [`Series.plot()`](../reference/api/pandas.Series.plot.html#pandas.Series.plot "pandas.Series.plot") received a “2xN” array with error values for `yerr` and/or `xerr`, ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
91d6eb51-1efb-565b-92fd-344ac4b92c9e | changelog | pandas | pandas_whatsnew | 1.1.0 | 37 | This restores the behavior of [`MultiIndex.get_indexer()`](../reference/api/pandas.MultiIndex.get_indexer.html#pandas.MultiIndex.get_indexer "pandas.MultiIndex.get_indexer") with `method='backfill'` or `method='pad'` to the behavior before pandas 0.23.0. In particular, MultiIndexes are treated as a list of tuples and p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
2da61df5-30f8-5709-b4d6-de86578cc020 | changelog | pandas | pandas_whatsnew | 1.1.0 | 38 | *pandas <0.23, >= 1.1.0*
```None
In [49]: df.reindex(mi_2, method='backfill')
Out[49]:
c
0 -1 A
0 A
1 B
3 C
4 D
5 NaN
[6 rows x 1 columns]
```
And the differences in reindexing `df` with `mi_2` and using `method='pad'` can be seen here:
*pandas >= 0.23, < 1.1.0*
```None
In [... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
455e942c-e8fe-576f-b76f-dbfa9362c203 | changelog | pandas | pandas_whatsnew | 1.1.0 | 39 | key and type of [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index"). These now consistently raise `KeyError` ([GH 31867](https://github.com/pandas-dev/pandas/issues/31867))
```None
In [51]: ser1 = pd.Series(range(3), index=[0, 1, 2])
In [52]: ser2 = pd.Series(range(3), index=pd.date_range("2020-... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
2c6ecd49-7024-56e1-9b9b-a6a58c37d42a | changelog | pandas | pandas_whatsnew | 1.1.0 | 40 | KeyError: 1.5
In [6]: ser1.loc["foo"]
...
KeyError: 'foo'
In [7]: ser2.loc[1]
...
KeyError: 1
In [8]: ser2.loc[pd.Timestamp(0)]
...
KeyError: Timestamp('1970-01-01 00:00:00')
```
Similarly, [`DataFrame.at()`](../reference/api/pandas.DataFrame.at.html#pandas.DataFrame.at "pandas.DataFrame.at") and [`Series.at()`](..... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
c271fee5-59a5-553a-b977-e795d234cf44 | changelog | pandas | pandas_whatsnew | 1.1.0 | 41 | those integer keys is not present in the first level of the index ([GH 33539](https://github.com/pandas-dev/pandas/issues/33539))
```None
In [53]: idx = pd.Index(range(4))
In [54]: dti = pd.date_range("2000-01-03", periods=3)
In [55]: mi = pd.MultiIndex.from_product([idx, dti])
In [56]: ser = pd.Series(range(len(mi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
b35deb40-7d67-5b71-942d-0451db76aff9 | changelog | pandas | pandas_whatsnew | 1.1.0 | 42 | In [57]: left_df = pd.DataFrame({'animal': ['dog', 'pig'],
....: 'max_speed': [40, 11]})
....:
In [58]: right_df = pd.DataFrame({'animal': ['quetzal', 'pig'],
....: 'max_speed': [80, 11]})
....:
In [59]: left_df
Out[59]:
animal max_speed
0 dog ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
01fc8157-dc64-5e79-8813-5a45994d26f1 | changelog | pandas | pandas_whatsnew | 1.1.0 | 43 | ### Assignment to multiple columns of a DataFrame when some columns do not exist[#](#assignment-to-multiple-columns-of-a-dataframe-when-some-columns-do-not-exist "Link to this heading")
Assignment to multiple columns of a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") when so... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
f574aa8f-bd3e-5232-ba23-af4dfcf4631c | changelog | pandas | pandas_whatsnew | 1.1.0 | 44 | ### Consistency across groupby reductions[#](#consistency-across-groupby-reductions "Link to this heading")
Using [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") with `as_index=True` and the aggregation `nunique` would include the grouping col... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
af9566d4-8559-59d4-a405-245ea0b2b085 | changelog | pandas | pandas_whatsnew | 1.1.0 | 45 | Using [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") with `as_index=False` and the function `idxmax`, `idxmin`, `mad`, `nunique`, `sem`, `skew`, or `std` would modify the grouping column. Now the grouping column remains unchanged, consistent w... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
f96e4e39-aae4-5c07-834f-fb120f731d38 | changelog | pandas | pandas_whatsnew | 1.1.0 | 46 | The method [`DataFrameGroupBy.size()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.size.html#pandas.core.groupby.DataFrameGroupBy.size "pandas.core.groupby.DataFrameGroupBy.size") would previously ignore `as_index=False`. Now the grouping columns are returned as columns, making the result a [`DataFrame`](../r... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
2d3d9a5d-c932-5ed9-af43-58b592ed056c | changelog | pandas | pandas_whatsnew | 1.1.0 | 47 | ### `DataFrameGroupby.agg()` lost results with `as_index=False` when relabeling columns[#](#dataframegroupby-agg-lost-results-with-as-index-false-when-relabeling-columns "Link to this heading")
Previously `DataFrameGroupby.agg()` lost the result columns, when the `as_index` option was
set to `False` and the result col... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
239dab6a-a9b0-503d-8ece-d4b6e31f14ba | changelog | pandas | pandas_whatsnew | 1.1.0 | 48 | In [73]: grouped = df.groupby("key", as_index=False)
In [74]: result = grouped.agg(min_val=pd.NamedAgg(column="val", aggfunc="min"))
In [75]: result
Out[75]:
key min_val
0 x 1.00
1 y 0.80
2 z 0.75
[3 rows x 2 columns]
```
### apply and applymap on `DataFrame` evaluates first row/column only on... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
9be3a93d-60db-57cc-9fb6-91171e503b6d | changelog | pandas | pandas_whatsnew | 1.1.0 | 49 | ## Backwards incompatible API changes[#](#backwards-incompatible-api-changes "Link to this heading")
### Added `check_freq` argument to `testing.assert_frame_equal` and `testing.assert_series_equal`[#](#added-check-freq-argument-to-testing-assert-frame-equal-and-testing-assert-series-equal "Link to this heading")
| large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
d4cb7a78-bf77-595d-b11b-e35584e24ca0 | changelog | pandas | pandas_whatsnew | 1.1.0 | 50 | The `check_freq` argument was added to [`testing.assert_frame_equal()`](../reference/api/pandas.testing.assert_frame_equal.html#pandas.testing.assert_frame_equal "pandas.testing.assert_frame_equal") and [`testing.assert_series_equal()`](../reference/api/pandas.testing.assert_series_equal.html#pandas.testing.assert_seri... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
ed8f9b4e-67da-5109-9d30-4f33cbe3890b | changelog | pandas | pandas_whatsnew | 1.1.0 | 51 | ### Increased minimum versions for dependencies[#](#increased-minimum-versions-for-dependencies "Link to this heading")
Some minimum supported versions of dependencies were updated ([GH 33718](https://github.com/pandas-dev/pandas/issues/33718), [GH 29766](https://github.com/pandas-dev/pandas/issues/29766), [GH 29723](... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
5dd46fb8-65f4-5095-bdbb-7c349b31c5a6 | changelog | pandas | pandas_whatsnew | 1.1.0 | 52 | Optional libraries below the lowest tested version may still work, but are not considered supported.
| Package | Minimum Version | Changed |
| --- | --- | --- |
| beautifulsoup4 | 4.6.0 | |
| fastparquet | 0.3.2 | |
| fsspec | 0.7.4 | |
| gcsfs | 0.6.0 | X |
| lxml | 3.8.0 | |
| matplotlib | 2.2.2 | |
| numba | 0... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
9a703e97-7950-5977-af0c-2e7a77141276 | changelog | pandas | pandas_whatsnew | 1.1.0 | 53 | ## Deprecations[#](#deprecations "Link to this heading")
* Lookups on a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") with a single-item list containing a slice (e.g. `ser[[slice(0, 4)]]`) are deprecated and will raise in a future version. Either convert the list to a tuple, or pass the... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
6489b492-fbfd-56db-8640-c2906ae3b902 | changelog | pandas | pandas_whatsnew | 1.1.0 | 54 | * Setting values with `.loc` using a positional slice is deprecated and will raise in a future version. Use `.loc` with labels or `.iloc` with positions instead ([GH 31840](https://github.com/pandas-dev/pandas/issues/31840))
* [`DataFrame.to_dict()`](../reference/api/pandas.DataFrame.to_dict.html#pandas.DataFrame.to_di... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
e0b961ad-0727-5681-9718-827fb512e6f4 | changelog | pandas | pandas_whatsnew | 1.1.0 | 55 | * Providing `suffixes` as a `set` in [`pandas.merge()`](../reference/api/pandas.merge.html#pandas.merge "pandas.merge") is deprecated. Provide a tuple instead ([GH 33740](https://github.com/pandas-dev/pandas/issues/33740), [GH 34741](https://github.com/pandas-dev/pandas/issues/34741)).
* Indexing a [`Series`](../refere... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
e88ef7de-26c8-5ba3-b3c4-37eef9aaaded | changelog | pandas | pandas_whatsnew | 1.1.0 | 56 | arguments should be given as keyword arguments ([GH 27573](https://github.com/pandas-dev/pandas/issues/27573)).
* Passing any arguments but `path_or_buf` (the first one) to
[`read_json()`](../reference/api/pandas.read_json.html#pandas.read_json "pandas.read_json") as positional arguments is deprecated. All
other ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
ae2a5a50-6b90-50cc-9fe2-b9a80607e16f | changelog | pandas | pandas_whatsnew | 1.1.0 | 57 | * `pandas.api.types.is_categorical()` is deprecated and will be removed in a future version; use [`pandas.api.types.is_categorical_dtype()`](../reference/api/pandas.api.types.is_categorical_dtype.html#pandas.api.types.is_categorical_dtype "pandas.api.types.is_categorical_dtype") instead ([GH 33385](https://github.com/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
0268a397-f448-5558-bb90-c52812d28003 | changelog | pandas | pandas_whatsnew | 1.1.0 | 58 | * `DatetimeArray.week()` and `DatetimeArray.weekofyear` are deprecated and will be removed in a future version, use `DatetimeArray.isocalendar().week` instead ([GH 33595](https://github.com/pandas-dev/pandas/issues/33595))
* `DateOffset.__call__()` is deprecated and will be removed in a future version, use `offset + ot... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
a449fab7-3c49-59e2-8ad4-e85a0b5dc1ab | changelog | pandas | pandas_whatsnew | 1.1.0 | 59 | * Indexing an [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") object with a float key is deprecated, and will
raise an `IndexError` in the future. You can manually convert to an integer key
instead ([GH 34191](https://github.com/pandas-dev/pandas/issues/34191)).
* The `squeeze` keyword in ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
e5143661-0e7c-5af6-bd11-e6743e04d959 | changelog | pandas | pandas_whatsnew | 1.1.0 | 60 | * `DatetimeIndex.to_perioddelta()` is deprecated and will be removed in a future version. Use `index - index.to_period(freq).to_timestamp()` instead ([GH 34853](https://github.com/pandas-dev/pandas/issues/34853))
* [`DataFrame.melt()`](../reference/api/pandas.DataFrame.melt.html#pandas.DataFrame.melt "pandas.DataFrame.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
ed5f4fb8-1b82-5e64-8956-66d2a4da30c7 | changelog | pandas | pandas_whatsnew | 1.1.0 | 61 | * Performance improvement in [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") constructor ([GH 30543](https://github.com/pandas-dev/pandas/issues/30543))
* Performance improvement in [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") constr... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
65a3c859-18dd-586b-9e8a-eed4a6e46f52 | changelog | pandas | pandas_whatsnew | 1.1.0 | 62 | * The internal index method `_shallow_copy()` now copies cached attributes over to the new index,
avoiding creating these again on the new index. This can speed up many operations that depend on creating copies of
existing indexes ([GH 28584](https://github.com/pandas-dev/pandas/issues/28584), [GH 32640](https://gi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
6a553b47-7ec6-5c93-b52b-1ed1008afbf8 | changelog | pandas | pandas_whatsnew | 1.1.0 | 63 | [GH 32825](https://github.com/pandas-dev/pandas/issues/32825), [GH 32826](https://github.com/pandas-dev/pandas/issues/32826), [GH 32856](https://github.com/pandas-dev/pandas/issues/32856), [GH 32858](https://github.com/pandas-dev/pandas/issues/32858)).
* Performance improvement for groupby methods `Groupby.first()`
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
9aeff771-9157-578f-9e78-56171b581edb | changelog | pandas | pandas_whatsnew | 1.1.0 | 64 | * Fixed performance regression in [`pandas.qcut()`](../reference/api/pandas.qcut.html#pandas.qcut "pandas.qcut") and [`pandas.cut()`](../reference/api/pandas.cut.html#pandas.cut "pandas.cut") ([GH 33921](https://github.com/pandas-dev/pandas/issues/33921))
* Performance improvement in reductions (`sum`, `prod`, `min`, `... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
fe0651ea-dae2-5113-8b7f-54e07c633eb6 | changelog | pandas | pandas_whatsnew | 1.1.0 | 65 | * Performance improvement in arithmetic operations (`sub`, `add`, `mul`, `div`) for [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") ([GH 34297](https://github.com/pandas-dev/pandas/issues/34297))
* Performance improvement in `DataFrame[bool_indexer]` when `bool_indexer` is ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
663afdca-2af6-5dd7-82fe-61c4bc236ec6 | changelog | pandas | pandas_whatsnew | 1.1.0 | 66 | ## Bug fixes[#](#bug-fixes "Link to this heading")
### Categorical[#](#categorical "Link to this heading")
* Passing an invalid `fill_value` to `Categorical.take()` raises a `ValueError` instead of `TypeError` ([GH 33660](https://github.com/pandas-dev/pandas/issues/33660))
* Combining a [`Categorical`](../reference/a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
96efd6b9-7f22-584a-851d-4a97f9c62105 | changelog | pandas | pandas_whatsnew | 1.1.0 | 67 | * Bug when passing categorical data to [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") constructor along with `dtype=object` incorrectly returning a [`CategoricalIndex`](../reference/api/pandas.CategoricalIndex.html#pandas.CategoricalIndex "pandas.CategoricalIndex") instead of object-dtype [`I... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
b12132d6-7543-596d-8065-9ff29d8990a2 | changelog | pandas | pandas_whatsnew | 1.1.0 | 68 | * Repr of [`Categorical`](../reference/api/pandas.Categorical.html#pandas.Categorical "pandas.Categorical") was not distinguishing between `int` and `str` ([GH 33676](https://github.com/pandas-dev/pandas/issues/33676))
### Datetimelike[#](#datetimelike "Link to this heading")
* Passing an integer dtype other than `in... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
1a88338b-2dff-59a7-ba1f-e8020d2e4299 | changelog | pandas | pandas_whatsnew | 1.1.0 | 69 | * [`Series.to_period()`](../reference/api/pandas.Series.to_period.html#pandas.Series.to_period "pandas.Series.to_period") now raises a `TypeError` if the axis is not a [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex"). Previously an `AttributeError` was raised ([G... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
7932e3fa-ab6a-5adb-8465-78e673a326f0 | changelog | pandas | pandas_whatsnew | 1.1.0 | 70 | * Bug in [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") where constructing a [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") from ambiguous epoch time and calling constructor again changed the [`Timestamp.value()`](../reference/api/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
a537fa55-947e-53b2-a192-05e026589941 | changelog | pandas | pandas_whatsnew | 1.1.0 | 71 | * Bug in [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") where constructing [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") with dateutil timezone less than 128 nanoseconds before daylight saving time switch from winter to summer would ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
a6225bdc-26b4-591d-82f9-b882b0b7a324 | changelog | pandas | pandas_whatsnew | 1.1.0 | 72 | * [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") raised a confusing error message when year, month or day is missing ([GH 31200](https://github.com/pandas-dev/pandas/issues/31200))
* Bug in [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
4b450395-3e3b-5645-aa66-b83b2224daa2 | changelog | pandas | pandas_whatsnew | 1.1.0 | 73 | * Bug in [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") arithmetic when adding or subtracting an `np.ndarray` with `timedelta64` dtype ([GH 33296](https://github.com/pandas-dev/pandas/issues/33296))
* Bug in [`DatetimeIndex.to_period()`](../reference/api/pandas.DatetimeIndex.t... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
b5e8852d-fbe1-5c8c-ae96-20a4157a80a3 | changelog | pandas | pandas_whatsnew | 1.1.0 | 74 | * Bug in `DatetimeIndex.get_indexer()` where incorrect output would be returned for mixed datetime-like targets ([GH 33741](https://github.com/pandas-dev/pandas/issues/33741))
* Bug in [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") addition and subtraction with... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
4e5a690f-f75c-544f-88d4-539de6b76a31 | changelog | pandas | pandas_whatsnew | 1.1.0 | 75 | * [`DataFrame.min()`](../reference/api/pandas.DataFrame.min.html#pandas.DataFrame.min "pandas.DataFrame.min") and [`DataFrame.max()`](../reference/api/pandas.DataFrame.max.html#pandas.DataFrame.max "pandas.DataFrame.max") were not returning consistent results with [`Series.min()`](../reference/api/pandas.Series.min.htm... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
78e72f50-8269-5dc7-a324-5673437a1c2c | changelog | pandas | pandas_whatsnew | 1.1.0 | 76 | * Bug in subtracting [`TimedeltaIndex`](../reference/api/pandas.TimedeltaIndex.html#pandas.TimedeltaIndex "pandas.TimedeltaIndex") from [`Period`](../reference/api/pandas.Period.html#pandas.Period "pandas.Period") incorrectly raising `TypeError` in some cases where it should succeed and `IncompatibleFrequency` in some ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
00155789-8981-5930-bed2-45e44ab44394 | changelog | pandas | pandas_whatsnew | 1.1.0 | 77 | * The `freq` keyword in [`Period`](../reference/api/pandas.Period.html#pandas.Period "pandas.Period"), [`date_range()`](../reference/api/pandas.date_range.html#pandas.date_range "pandas.date_range"), [`period_range()`](../reference/api/pandas.period_range.html#pandas.period_range "pandas.period_range"), `pd.tseries.fre... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
d6f009e0-ffe2-529b-a4f7-48e9428682cc | changelog | pandas | pandas_whatsnew | 1.1.0 | 78 | * `OutOfBoundsDatetime` issues an improved error message when timestamp is out of implementation bounds. ([GH 32967](https://github.com/pandas-dev/pandas/issues/32967))
* Bug in `AbstractHolidayCalendar.holidays()` when no rules were defined ([GH 31415](https://github.com/pandas-dev/pandas/issues/31415))
* Bug in `Tick... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
7ca5bbdb-c688-552e-9d7c-c6c562a174b0 | changelog | pandas | pandas_whatsnew | 1.1.0 | 79 | * Bug in dividing `np.nan` or `None` by [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") incorrectly returning `NaT` ([GH 31869](https://github.com/pandas-dev/pandas/issues/31869))
* [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") now un... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
4e6b43d6-7628-520b-8cc0-bb7f2fedb64f | changelog | pandas | pandas_whatsnew | 1.1.0 | 80 | * Bug in [`timedelta_range()`](../reference/api/pandas.timedelta_range.html#pandas.timedelta_range "pandas.timedelta_range") that produced an extra point on a edge case ([GH 30353](https://github.com/pandas-dev/pandas/issues/30353), [GH 33498](https://github.com/pandas-dev/pandas/issues/33498))
* Bug in [`DataFrame.res... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
7582bb3e-c821-54b6-92f0-c0a279847bda | changelog | pandas | pandas_whatsnew | 1.1.0 | 81 | * Bug in [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") and [`pandas.to_timedelta()`](../reference/api/pandas.to_timedelta.html#pandas.to_timedelta "pandas.to_timedelta") that ignored the `unit` argument for string input ([GH 12136](https://github.com/pandas-dev/pandas/issues/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
0e5bcdef-84ed-5d04-a6a7-a27b92f02f19 | changelog | pandas | pandas_whatsnew | 1.1.0 | 82 | * Bug in [`DataFrame.floordiv()`](../reference/api/pandas.DataFrame.floordiv.html#pandas.DataFrame.floordiv "pandas.DataFrame.floordiv") with `axis=0` not treating division-by-zero like [`Series.floordiv()`](../reference/api/pandas.Series.floordiv.html#pandas.Series.floordiv "pandas.Series.floordiv") ([GH 31271](https:... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
45222534-d7bb-5de9-90b5-fcc81fcb9050 | changelog | pandas | pandas_whatsnew | 1.1.0 | 83 | * Bug in [`DataFrame.mean()`](../reference/api/pandas.DataFrame.mean.html#pandas.DataFrame.mean "pandas.DataFrame.mean") with `numeric_only=False` and either `datetime64` dtype or `PeriodDtype` column incorrectly raising `TypeError` ([GH 32426](https://github.com/pandas-dev/pandas/issues/32426))
* Bug in [`DataFrame.co... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
fd0b5176-162e-5bf1-b8da-435eddaa8d49 | changelog | pandas | pandas_whatsnew | 1.1.0 | 84 | * Bug in [`DataFrame.corr()`](../reference/api/pandas.DataFrame.corr.html#pandas.DataFrame.corr "pandas.DataFrame.corr") and [`DataFrame.cov()`](../reference/api/pandas.DataFrame.cov.html#pandas.DataFrame.cov "pandas.DataFrame.cov") raising when handling nullable integer columns with `pandas.NA` ([GH 33803](https://git... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
c13b7964-1e22-55e4-a4f9-02f431c47c77 | changelog | pandas | pandas_whatsnew | 1.1.0 | 85 | * Bug in [`Index.difference()`](../reference/api/pandas.Index.difference.html#pandas.Index.difference "pandas.Index.difference") giving incorrect results when comparing a `Float64Index` and object [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") ([GH 35217](https://github.com/pandas-dev/pandas/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
1630d1bd-5554-564c-92fc-f9121d0f661a | changelog | pandas | pandas_whatsnew | 1.1.0 | 86 | * [`Series.interpolate()`](../reference/api/pandas.Series.interpolate.html#pandas.Series.interpolate "pandas.Series.interpolate") and [`DataFrame.interpolate()`](../reference/api/pandas.DataFrame.interpolate.html#pandas.DataFrame.interpolate "pandas.DataFrame.interpolate") now raise a ValueError if `limit_direction` is... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
238bbc83-bab5-5c58-89e4-5d368a29e5e1 | changelog | pandas | pandas_whatsnew | 1.1.0 | 87 | * Bug in [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") construction where sets would be duplicated rather than raising ([GH 32582](https://github.com/pandas-dev/pandas/issues/32582))
* The [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
be50c992-86c0-52f7-aafa-44e2d1f4cbd5 | changelog | pandas | pandas_whatsnew | 1.1.0 | 88 | * Bug in [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") when initiating a frame with lists and assign `columns` with nested list for `MultiIndex` ([GH 32173](https://github.com/pandas-dev/pandas/issues/32173))
* Improved error message for invalid construction of list when crea... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
752109fa-fcdc-5a51-b67a-632fc068a5dc | changelog | pandas | pandas_whatsnew | 1.1.0 | 89 | * Bug in [`Series.str.cat()`](../reference/api/pandas.Series.str.cat.html#pandas.Series.str.cat "pandas.Series.str.cat") returning `NaN` output when other had [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") type ([GH 33425](https://github.com/pandas-dev/pandas/issues/33425))
* `pandas.api.dtyp... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
28ee67ca-cec8-51d6-95a4-46870a2b147b | changelog | pandas | pandas_whatsnew | 1.1.0 | 90 | * [`DataFrame.xs()`](../reference/api/pandas.DataFrame.xs.html#pandas.DataFrame.xs "pandas.DataFrame.xs") now raises a `TypeError` if a `level` keyword is supplied and the axis is not a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex"). Previously an `AttributeError` was rais... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
227e199d-82c8-5748-af49-345fe6d62bf2 | changelog | pandas | pandas_whatsnew | 1.1.0 | 91 | * Bug in [`Series.at()`](../reference/api/pandas.Series.at.html#pandas.Series.at "pandas.Series.at") and [`DataFrame.at()`](../reference/api/pandas.DataFrame.at.html#pandas.DataFrame.at "pandas.DataFrame.at") not matching `.loc` behavior when looking up an integer in a `Float64Index` ([GH 31329](https://github.com/pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
d227c27c-b44b-50b6-8629-d8342863859a | changelog | pandas | pandas_whatsnew | 1.1.0 | 92 | * Bug in [`DataFrame.iat()`](../reference/api/pandas.DataFrame.iat.html#pandas.DataFrame.iat "pandas.DataFrame.iat") incorrectly returning `Timestamp` instead of `datetime` in some object-dtype cases ([GH 32809](https://github.com/pandas-dev/pandas/issues/32809))
* Bug in [`DataFrame.at()`](../reference/api/pandas.Data... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
571147fd-e718-59c2-a4d4-09988f5afd82 | changelog | pandas | pandas_whatsnew | 1.1.0 | 93 | * Bug in `DataFrame.iloc.__setitem__()` on a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") with duplicate columns incorrectly setting values for all matching columns ([GH 15686](https://github.com/pandas-dev/pandas/issues/15686), [GH 22036](https://github.com/pandas-dev/panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
989bdb97-baeb-5f1c-ab6e-1d8c3b92228a | changelog | pandas | pandas_whatsnew | 1.1.0 | 94 | * Bug in `Series.__getitem__()` indexing with non-standard scalars, e.g. `np.dtype` ([GH 32684](https://github.com/pandas-dev/pandas/issues/32684))
* Bug in [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") constructor where an unhelpful error message was raised for NumPy scalars ([GH 33017](htt... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
297ffdec-784a-50b8-a373-a675d526b29a | changelog | pandas | pandas_whatsnew | 1.1.0 | 95 | * Bug in [`DataFrame.copy()`](../reference/api/pandas.DataFrame.copy.html#pandas.DataFrame.copy "pandas.DataFrame.copy") not invalidating \_item\_cache after copy caused post-copy value updates to not be reflected ([GH 31784](https://github.com/pandas-dev/pandas/issues/31784))
* Fixed regression in [`DataFrame.loc()`](... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
94933d8d-34ff-5fb2-b7da-6fc8304d528e | changelog | pandas | pandas_whatsnew | 1.1.0 | 96 | * Bug in [`DataFrame.iloc()`](../reference/api/pandas.DataFrame.iloc.html#pandas.DataFrame.iloc "pandas.DataFrame.iloc") when slicing a single column [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") with `ExtensionDtype` (e.g. `df.iloc[:, :1]`) returning an invalid result ([GH 3... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
c96b8f9c-9c9b-57c2-a083-33b81892f4b0 | changelog | pandas | pandas_whatsnew | 1.1.0 | 97 | * Bug in `Series.__getitem__()` allowing missing labels with `np.ndarray`, [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index"), [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") indexers but not `list`, these now all raise `KeyError` ([GH 33646](https://github.com/panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.1.0.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.