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 |
|---|---|---|---|---|---|---|---|
6e44864a-9bbd-5bbb-8d77-dbdb9c122716 | changelog | pandas | pandas_whatsnew | 1.2.0 | 1 | See the [`read_excel()`](../reference/api/pandas.read_excel.html#pandas.read_excel "pandas.read_excel") documentation for more details.
Thus, it is strongly encouraged to install `openpyxl` to read Excel 2007+
(`.xlsx`) files.
**Please do not report issues when using ``xlrd`` to read ``.xlsx`` files.**
This is no long... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
8b15155c-26ee-50b0-939c-2529b1cdca9f | changelog | pandas | pandas_whatsnew | 1.2.0 | 2 | [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") and [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") can now be created with `allows_duplicate_labels=False` flag to
control whether the index or columns can contain duplicate labels ([GH 28394](https:... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
263650ef-baef-53c4-97ae-53de71d0fb14 | changelog | pandas | pandas_whatsnew | 1.2.0 | 3 | ...: )
In [4]: a
Out[4]:
a 1
b 2
Length: 2, dtype: int64
# An operation introducing duplicates
In [5]: a.reindex(['a', 'b', 'a'])
...
DuplicateLabelError: Index has duplicates.
positions
label
a [0, 2]
[1 rows x 1 columns]
```
Warning
This is an experimental feature. Currently, many methods f... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
4dcf353d-e870-537b-92c5-bf7a7dc7f572 | changelog | pandas | pandas_whatsnew | 1.2.0 | 4 | ### Passing arguments to fsspec backends[#](#passing-arguments-to-fsspec-backends "Link to this heading")
Many read/write functions have acquired the `storage_options` optional argument,
to pass a dictionary of parameters to the storage backend. This allows, for
example, for passing credentials to S3 and GCS storage. ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
3394188d-41a1-5594-b400-1ccda352bf1e | changelog | pandas | pandas_whatsnew | 1.2.0 | 5 | ### Support for binary file handles in `to_csv`[#](#support-for-binary-file-handles-in-to-csv "Link to this heading")
`to_csv()` supports file handles in binary mode ([GH 19827](https://github.com/pandas-dev/pandas/issues/19827) and [GH 35058](https://github.com/pandas-dev/pandas/issues/35058))
with `encoding` ([GH 13... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
3b20fde7-aa01-5910-90aa-520704936320 | changelog | pandas | pandas_whatsnew | 1.2.0 | 6 | ### Support for short caption and table position in `to_latex`[#](#support-for-short-caption-and-table-position-in-to-latex "Link to this heading")
[`DataFrame.to_latex()`](../reference/api/pandas.DataFrame.to_latex.html#pandas.DataFrame.to_latex "pandas.DataFrame.to_latex") now allows one to specify
a floating table ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
8e04b737-368c-5fcb-9b42-771adb2055f3 | changelog | pandas | pandas_whatsnew | 1.2.0 | 7 | In [8]: data = pd.DataFrame({'a': [1, 2], 'b': [3, 4]})
In [9]: table = data.to_latex(caption=('the full long caption', 'short caption'))
In [10]: print(table)
\begin{table}
\caption[short caption]{the full long caption}
\begin{tabular}{lrr}
\toprule
& a & b \\
\midrule
0 & 1 & 3 \\
1 & 2 & 4 \\
\bottomrule
\end{tab... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
e8307a25-5f8d-574a-a128-96cbd7a41f35 | changelog | pandas | pandas_whatsnew | 1.2.0 | 8 | Beginning with this version, the default is now to use the more accurate parser by making
`floating_precision=None` correspond to the high precision parser, and the new option
`floating_precision="legacy"` to use the legacy parser. The change to using the higher precision
parser by default should have no impact on perf... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
4d54ac94-50d0-5588-a9cb-d45d9fcc6137 | changelog | pandas | pandas_whatsnew | 1.2.0 | 9 | `pd.NA` missing value indicator ([GH 32265](https://github.com/pandas-dev/pandas/issues/32265), [GH 34307](https://github.com/pandas-dev/pandas/issues/34307)).
While the default float data type already supports missing values using `np.nan`,
these new data types use `pd.NA` (and its corresponding behavior) as the miss... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
b7a53eff-9fd4-5e9f-9996-aaf9e6a9ee7f | changelog | pandas | pandas_whatsnew | 1.2.0 | 10 | 1 <NA>
Length: 2, dtype: boolean
```
See the [NA semantics](../user_guide/missing_data.html#missing-data-na) doc section for more details on the behavior
when using the `pd.NA` missing value indicator.
As shown above, the dtype can be specified using the “Float64” or “Float32”
string (capitalized to distinguish it... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
aad0d0d8-61ea-5ef0-a35e-06cd63805bcd | changelog | pandas | pandas_whatsnew | 1.2.0 | 11 | ### Index/column name preservation when aggregating[#](#index-column-name-preservation-when-aggregating "Link to this heading")
When aggregating using [`concat()`](../reference/api/pandas.concat.html#pandas.concat "pandas.concat") or the [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.Dat... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
0fb04e04-b3ce-5e0b-b9f6-2c587c97abe9 | changelog | pandas | pandas_whatsnew | 1.2.0 | 12 | The same is true for [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex"), but the logic is applied separately on a
level-by-level basis.
### GroupBy supports EWM operations directly[#](#groupby-supports-ewm-operations-directly "Link to this heading")
`DataFrameGroupBy` now su... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
18c23905-039a-5d26-a946-b5c9f4263de6 | changelog | pandas | pandas_whatsnew | 1.2.0 | 13 | ### Other enhancements[#](#other-enhancements "Link to this heading")
* Added `day_of_week` (compatibility alias `dayofweek`) property to [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp"), [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f2efce0e-a6d7-53a2-8191-c761359df9b3 | changelog | pandas | pandas_whatsnew | 1.2.0 | 14 | * Added `day_of_year` (compatibility alias `dayofyear`) property to [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp"), [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex"), [`Period`](../reference/api/pandas.Period.html#pandas.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
b758794e-c7de-5cf0-822b-0df432b4048d | changelog | pandas | pandas_whatsnew | 1.2.0 | 15 | * [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") with object dtype supports division and multiplication ([GH 34160](https://github.com/pandas-dev/pandas/issues/34160))
* `io.sql.get_schema()` now supports a `schema` keyword argument that will add a schema into the create table statement ([GH ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
76641d2f-c652-508b-8e57-a955f7b63a49 | changelog | pandas | pandas_whatsnew | 1.2.0 | 16 | * [`Styler.set_table_styles()`](../reference/api/pandas.io.formats.style.Styler.set_table_styles.html#pandas.io.formats.style.Styler.set_table_styles "pandas.io.formats.style.Styler.set_table_styles") now allows the direct styling of rows and columns and can be chained ([GH 35607](https://github.com/pandas-dev/pandas/i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
b4ba1a9e-4ab0-52e7-b6d1-7677e8817b8a | changelog | pandas | pandas_whatsnew | 1.2.0 | 17 | * [`Rolling.mean()`](../reference/api/pandas.core.window.rolling.Rolling.mean.html#pandas.core.window.rolling.Rolling.mean "pandas.core.window.rolling.Rolling.mean") and [`Rolling.sum()`](../reference/api/pandas.core.window.rolling.Rolling.sum.html#pandas.core.window.rolling.Rolling.sum "pandas.core.window.rolling.Roll... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
07ef359f-7bf5-503d-9e1e-9f204a84b412 | changelog | pandas | pandas_whatsnew | 1.2.0 | 18 | * `DatetimeIndex.searchsorted()`, `TimedeltaIndex.searchsorted()`, `PeriodIndex.searchsorted()`, and [`Series.searchsorted()`](../reference/api/pandas.Series.searchsorted.html#pandas.Series.searchsorted "pandas.Series.searchsorted") with datetime-like dtypes will now try to cast string arguments (list-like and scalar) ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
513bdefb-f38d-528a-850a-187a3ce496a8 | changelog | pandas | pandas_whatsnew | 1.2.0 | 19 | This change has been reverted in pandas 1.2.1, and the behaviour to not align DataFrames
is deprecated instead, see the [the 1.2.1 release notes](v1.2.1.html#whatsnew-121-ufunc-deprecation).
* Where possible `RangeIndex.difference()` and `RangeIndex.symmetric_difference()` will return [`RangeIndex`](../reference/ap... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
a8bfb435-8882-5b15-bca7-362fc1d4632d | changelog | pandas | pandas_whatsnew | 1.2.0 | 20 | * [`read_parquet()`](../reference/api/pandas.read_parquet.html#pandas.read_parquet "pandas.read_parquet") gained a `use_nullable_dtypes=True` option to use nullable dtypes that use `pd.NA` as missing value indicator where possible for the resulting DataFrame (default is `False`, and only applicable for `engine="pyarrow... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
84b9f1a0-d50b-5d92-b714-8ebd2ed75785 | changelog | pandas | pandas_whatsnew | 1.2.0 | 21 | * [`Rolling.var()`](../reference/api/pandas.core.window.rolling.Rolling.var.html#pandas.core.window.rolling.Rolling.var "pandas.core.window.rolling.Rolling.var") and [`Rolling.std()`](../reference/api/pandas.core.window.rolling.Rolling.std.html#pandas.core.window.rolling.Rolling.std "pandas.core.window.rolling.Rolling.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
ffd3ec51-5aaf-5b64-a524-e44bdcebbe5d | changelog | pandas | pandas_whatsnew | 1.2.0 | 22 | * [`DataFrame.plot()`](../reference/api/pandas.DataFrame.plot.html#pandas.DataFrame.plot "pandas.DataFrame.plot") now recognizes `xlabel` and `ylabel` arguments for plots of type `scatter` and `hexbin` ([GH 37001](https://github.com/pandas-dev/pandas/issues/37001))
* [`DataFrame`](../reference/api/pandas.DataFrame.html... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
e8786480-f868-5486-ac24-cfa65ec24ae1 | changelog | pandas | pandas_whatsnew | 1.2.0 | 23 | * [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") and [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") with `datetime64` or `datetime64tz` dtypes now support `std` ([GH 37436](https://github.com/pandas-dev/pandas/issues/37436))
* `Wi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
db8fe846-5142-5b14-9716-8f1805b93997 | changelog | pandas | pandas_whatsnew | 1.2.0 | 24 | * Add support for `min_count` keyword for [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") and [`DataFrame.resample()`](../reference/api/pandas.DataFrame.resample.html#pandas.DataFrame.resample "pandas.DataFrame.resample") for functions `min`, `... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
05f690d2-c708-5100-810e-6892f3c977b9 | changelog | pandas | pandas_whatsnew | 1.2.0 | 25 | * Improve numerical stability for [`Rolling.skew()`](../reference/api/pandas.core.window.rolling.Rolling.skew.html#pandas.core.window.rolling.Rolling.skew "pandas.core.window.rolling.Rolling.skew"), [`Rolling.kurt()`](../reference/api/pandas.core.window.rolling.Rolling.kurt.html#pandas.core.window.rolling.Rolling.kurt ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
936908e5-fa04-5abd-afb0-987ebae7599e | changelog | pandas | pandas_whatsnew | 1.2.0 | 26 | * When [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv"), [`read_sas()`](../reference/api/pandas.read_sas.html#pandas.read_sas "pandas.read_sas") and [`read_json()`](../reference/api/pandas.read_json.html#pandas.read_json "pandas.read_json") are called with `chunksize`/`iterator` t... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
06900ee4-c002-51ff-819a-90ac15372b3e | changelog | pandas | pandas_whatsnew | 1.2.0 | 27 | [`DataFrame.any()`](../reference/api/pandas.DataFrame.any.html#pandas.DataFrame.any "pandas.DataFrame.any") and [`DataFrame.all()`](../reference/api/pandas.DataFrame.all.html#pandas.DataFrame.all "pandas.DataFrame.all") with `bool_only=True` now
determines whether to exclude object-dtype columns on a column-by-column b... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
14a10375-d7fe-532b-b1ea-985ece56b160 | changelog | pandas | pandas_whatsnew | 1.2.0 | 28 | Length: 1, dtype: bool
In [27]: In [6]: df[["B", "C"]].all(bool_only=True)
Out[27]:
C True
Length: 1, dtype: bool
```
Other DataFrame reductions with `numeric_only=None` will also avoid
this pathological behavior ([GH 37827](https://github.com/pandas-dev/pandas/issues/37827)):
```None
In [28]: df = pd.DataFrame(... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f1fff153-a482-5e39-8fc1-20b7ca88309b | changelog | pandas | pandas_whatsnew | 1.2.0 | 29 | instead of casting to a NumPy array which may have different semantics ([GH 36076](https://github.com/pandas-dev/pandas/issues/36076),
[GH 28949](https://github.com/pandas-dev/pandas/issues/28949), [GH 21020](https://github.com/pandas-dev/pandas/issues/21020)).
```None
In [29]: ser = pd.Series([0, 1], dtype="category"... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
48942d69-66c7-5fab-aede-d5ff418d4c27 | changelog | pandas | pandas_whatsnew | 1.2.0 | 30 | | Package | Minimum Version | Required | Changed |
| --- | --- | --- | --- |
| numpy | 1.16.5 | X | X |
| pytz | 2017.3 | X | X |
| python-dateutil | 2.7.3 | X | |
| bottleneck | 1.2.1 | | |
| numexpr | 2.6.8 | | X |
| pytest (dev) | 5.0.1 | | X |
| mypy (dev) | 0.782 | | X |
For [optional libraries](https://pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
031a9ee1-3d4a-53a1-9fd3-a02e4c3d5d22 | changelog | pandas | pandas_whatsnew | 1.2.0 | 31 | | scipy | 1.2.0 | |
| sqlalchemy | 1.2.8 | X |
| xarray | 0.12.3 | X |
| xlrd | 1.2.0 | X |
| xlsxwriter | 1.0.2 | X |
| xlwt | 1.3.0 | X |
| pandas-gbq | 0.12.0 | |
See [Dependencies](../getting_started/install.html#install-dependencies) and [Optional dependencies](../getting_started/install.html#install-optional-d... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
5df11a09-27e6-5aeb-bb4d-defbaf57dea4 | changelog | pandas | pandas_whatsnew | 1.2.0 | 32 | * Sorting in descending order is now stable for [`Series.sort_values()`](../reference/api/pandas.Series.sort_values.html#pandas.Series.sort_values "pandas.Series.sort_values") and [`Index.sort_values()`](../reference/api/pandas.Index.sort_values.html#pandas.Index.sort_values "pandas.Index.sort_values") for Datetime-lik... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f3d6adfd-beb4-53a0-88ec-d8c41f4a3f98 | changelog | pandas | pandas_whatsnew | 1.2.0 | 33 | * Passing an invalid `fill_value` to `Categorical.take()`, `DatetimeArray.take()`, `TimedeltaArray.take()`, or `PeriodArray.take()` now raises a `TypeError` instead of a `ValueError` ([GH 37733](https://github.com/pandas-dev/pandas/issues/37733))
* Passing an invalid `fill_value` to [`Series.shift()`](../reference/api/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
92941949-59b2-5d3f-8e70-94411efc167e | changelog | pandas | pandas_whatsnew | 1.2.0 | 34 | * Attempting to reindex a Series with a [`CategoricalIndex`](../reference/api/pandas.CategoricalIndex.html#pandas.CategoricalIndex "pandas.CategoricalIndex") with an invalid `fill_value` now raises a `TypeError` instead of a `ValueError` ([GH 37733](https://github.com/pandas-dev/pandas/issues/37733))
* `CategoricalInde... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
056e0faf-6b79-54c3-a545-3749e598c975 | changelog | pandas | pandas_whatsnew | 1.2.0 | 35 | * Deprecated parameter `dtype` of method [`copy()`](../reference/api/pandas.Index.copy.html#pandas.Index.copy "pandas.Index.copy") for all [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") subclasses. Use the [`astype()`](../reference/api/pandas.Index.astype.html#pandas.Index.astype "pandas.Inde... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
98082783-7256-58ad-8d5a-d23d56ad86a5 | changelog | pandas | pandas_whatsnew | 1.2.0 | 36 | * Date parser functions `parse_date_time()`, `parse_date_fields()`, `parse_all_fields()` and `generic_parser()` from `pandas.io.date_converters` are deprecated and will be removed in a future version; use [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") instead ([GH 35... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
e8e2cf84-194b-5916-baea-ec13fcf0e5d2 | changelog | pandas | pandas_whatsnew | 1.2.0 | 37 | * Deprecated indexing [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") rows with a single datetime-like string as `df[string]` (given the ambiguity whether it is indexing the rows or selecting a column), use `df.loc[string]` instead ([GH 36179](https://github.com/pandas-dev/pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
8718644e-a5a5-56f5-a295-4adca51b813e | changelog | pandas | pandas_whatsnew | 1.2.0 | 38 | * Deprecated automatic alignment on comparison operations between [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") and [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), do `frame, ser = frame.align(ser, axis=1, copy=False)` before e.g. `frame == ser`... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
fd24ae09-24a3-524f-93fe-09bec4fd9a1f | changelog | pandas | pandas_whatsnew | 1.2.0 | 39 | * [`Index.ravel()`](../reference/api/pandas.Index.ravel.html#pandas.Index.ravel "pandas.Index.ravel") returning a `np.ndarray` is deprecated, in the future this will return a view on the same index ([GH 19956](https://github.com/pandas-dev/pandas/issues/19956))
* Deprecate use of strings denoting units with ‘M’, ‘Y’ or... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f1f07280-cad0-5b0d-ac8d-581b98d2542e | changelog | pandas | pandas_whatsnew | 1.2.0 | 40 | * [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") methods `&`, `|`, and `^` behaving as the set operations [`Index.intersection()`](../reference/api/pandas.Index.intersection.html#pandas.Index.intersection "pandas.Index.intersection"), [`Index.union()`](../reference/api/pandas.Index.union.html... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
ab34c234-f880-5b79-8704-0927f06186ec | changelog | pandas | pandas_whatsnew | 1.2.0 | 41 | * `Series.slice_shift()` and `DataFrame.slice_shift()` are deprecated, use [`Series.shift()`](../reference/api/pandas.Series.shift.html#pandas.Series.shift "pandas.Series.shift") or [`DataFrame.shift()`](../reference/api/pandas.DataFrame.shift.html#pandas.DataFrame.shift "pandas.DataFrame.shift") instead ([GH 37601](ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
2b46bfff-b058-5c7f-90a6-142f499f1d7a | changelog | pandas | pandas_whatsnew | 1.2.0 | 42 | * Deprecated `Index.asi8()` for [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") subclasses other than [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex"), [`TimedeltaIndex`](../reference/api/pandas.TimedeltaIndex.html#pandas.TimedeltaIndex ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
37d456fc-d665-5ee0-b647-bff0c7cd9c30 | changelog | pandas | pandas_whatsnew | 1.2.0 | 43 | **Calling NumPy ufuncs on non-aligned DataFrames**
Calling NumPy ufuncs on non-aligned DataFrames changed behaviour in pandas
1.2.0 (to align the inputs before calling the ufunc), but this change is
reverted in pandas 1.2.1. The behaviour to not align is now deprecated instead,
see the [the 1.2.1 release notes](v1.2.1... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
a447ee5c-c06e-565f-9217-f14c33f03a49 | changelog | pandas | pandas_whatsnew | 1.2.0 | 44 | * Performance improvement in [`DataFrameGroupBy.agg()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.agg.html#pandas.core.groupby.DataFrameGroupBy.agg "pandas.core.groupby.DataFrameGroupBy.agg") and [`SeriesGroupBy.agg()`](../reference/api/pandas.core.groupby.SeriesGroupBy.agg.html#pandas.core.groupby.SeriesGr... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
47a15397-4da4-5d49-ac59-d2129b42567a | changelog | pandas | pandas_whatsnew | 1.2.0 | 45 | * 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.2.0.md |
7068d934-bca0-5848-a62a-5be0a3dea59d | changelog | pandas | pandas_whatsnew | 1.2.0 | 46 | * Performance improvement in [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") with non-ns time unit for `float` `dtype` columns ([GH 20445](https://github.com/pandas-dev/pandas/issues/20445))
* Performance improvement in setting values on an `IntervalArray` ([GH 36310]... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
2a3d4889-644b-55b1-b974-3d2b5abc5e7d | changelog | pandas | pandas_whatsnew | 1.2.0 | 47 | * Small performance decrease to [`Rolling.min()`](../reference/api/pandas.core.window.rolling.Rolling.min.html#pandas.core.window.rolling.Rolling.min "pandas.core.window.rolling.Rolling.min") and [`Rolling.max()`](../reference/api/pandas.core.window.rolling.Rolling.max.html#pandas.core.window.rolling.Rolling.max "panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
33001d0c-01ed-5773-92cb-07d9b811ac5a | changelog | pandas | pandas_whatsnew | 1.2.0 | 48 | * Performance improvement 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") for [`Categorical`](../reference/api/pandas.Categorical.htm... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
e17aa840-f8d8-5a69-a6d0-24bc40776e28 | changelog | pandas | pandas_whatsnew | 1.2.0 | 49 | * Performance improvement in `pd.isin()` for inputs with more than 1e6 elements ([GH 36611](https://github.com/pandas-dev/pandas/issues/36611))
* Performance improvement for `DataFrame.__setitem__()` with list-like indexers ([GH 37954](https://github.com/pandas-dev/pandas/issues/37954))
* [`read_json()`](../reference/a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f5fb3c4c-a166-5450-9c02-2a3eed143f96 | changelog | pandas | pandas_whatsnew | 1.2.0 | 50 | * Bug in `Categorical.__setitem__()` that incorrectly raised when trying to set a tuple value ([GH 20439](https://github.com/pandas-dev/pandas/issues/20439))
* Bug in [`CategoricalIndex.equals()`](../reference/api/pandas.CategoricalIndex.equals.html#pandas.CategoricalIndex.equals "pandas.CategoricalIndex.equals") incor... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
9b48be55-e0dd-5f54-8722-f6d346a3168e | changelog | pandas | pandas_whatsnew | 1.2.0 | 51 | ### Datetime-like[#](#datetime-like "Link to this heading")
* Bug in [`DataFrame.combine_first()`](../reference/api/pandas.DataFrame.combine_first.html#pandas.DataFrame.combine_first "pandas.DataFrame.combine_first") that would convert datetime-like column on other [`DataFrame`](../reference/api/pandas.DataFrame.html#... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
773dc164-1726-5690-895e-42b855f03749 | changelog | pandas | pandas_whatsnew | 1.2.0 | 52 | * Bug in [`DateOffset`](../reference/api/pandas.tseries.offsets.DateOffset.html#pandas.tseries.offsets.DateOffset "pandas.tseries.offsets.DateOffset") where attributes reconstructed from pickle files differ from original objects when input values exceed normal ranges (e.g. months=12) ([GH 34511](https://github.com/pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
664683f1-2f4f-58fa-972a-2284f1c7f19a | changelog | pandas | pandas_whatsnew | 1.2.0 | 53 | * Bug in `DatetimeIndex.searchsorted()`, `TimedeltaIndex.searchsorted()`, `PeriodIndex.searchsorted()`, and [`Series.searchsorted()`](../reference/api/pandas.Series.searchsorted.html#pandas.Series.searchsorted "pandas.Series.searchsorted") with `datetime64`, `timedelta64` or [`Period`](../reference/api/pandas.Period.ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
693c35dd-c32d-5c01-9f89-afa6f2c14ffb | changelog | pandas | pandas_whatsnew | 1.2.0 | 54 | * Inconsistency in [`DatetimeArray`](../reference/api/pandas.arrays.DatetimeArray.html#pandas.arrays.DatetimeArray "pandas.arrays.DatetimeArray"), [`TimedeltaArray`](../reference/api/pandas.arrays.TimedeltaArray.html#pandas.arrays.TimedeltaArray "pandas.arrays.TimedeltaArray"), and [`PeriodArray`](../reference/api/pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
754e590b-a57b-51c6-8cd2-496951eefafa | changelog | pandas | pandas_whatsnew | 1.2.0 | 55 | * [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") and [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") comparisons between tz-aware and tz-naive objects now follow the standard library `datetime` behavior, returning `True... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
2ec93bbd-a22c-5f7d-a6db-fb01cecb2532 | changelog | pandas | pandas_whatsnew | 1.2.0 | 56 | * [`Series.to_json()`](../reference/api/pandas.Series.to_json.html#pandas.Series.to_json "pandas.Series.to_json"), [`DataFrame.to_json()`](../reference/api/pandas.DataFrame.to_json.html#pandas.DataFrame.to_json "pandas.DataFrame.to_json"), and [`read_json()`](../reference/api/pandas.read_json.html#pandas.read_json "pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
4ad71a43-e99e-5a96-971c-2e33dd3bb302 | changelog | pandas | pandas_whatsnew | 1.2.0 | 57 | * Bug in `DatetimeArray.shift()` incorrectly allowing `fill_value` with a mismatched time zone ([GH 37299](https://github.com/pandas-dev/pandas/issues/37299))
* Bug in adding a [`BusinessDay`](../reference/api/pandas.tseries.offsets.BusinessDay.html#pandas.tseries.offsets.BusinessDay "pandas.tseries.offsets.BusinessDay... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
89b6b428-81d9-5ff1-a287-f45aab56f4e3 | changelog | pandas | pandas_whatsnew | 1.2.0 | 58 | * Bug in [`Series.isin()`](../reference/api/pandas.Series.isin.html#pandas.Series.isin "pandas.Series.isin") with `datetime64[ns]` dtype and `DatetimeIndex.isin()` failing to consider tz-aware and tz-naive datetimes as always different ([GH 35728](https://github.com/pandas-dev/pandas/issues/35728))
* Bug in [`Series.is... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
6a3568e2-21bb-5ea4-a92e-8844486045ea | changelog | pandas | pandas_whatsnew | 1.2.0 | 59 | ### Timedelta[#](#timedelta "Link to this heading")
* Bug in [`TimedeltaIndex`](../reference/api/pandas.TimedeltaIndex.html#pandas.TimedeltaIndex "pandas.TimedeltaIndex"), [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), and [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.Data... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
5309cd64-d9c5-5c0f-8782-e2f652ae74a7 | changelog | pandas | pandas_whatsnew | 1.2.0 | 60 | * Bug in [`to_timedelta()`](../reference/api/pandas.to_timedelta.html#pandas.to_timedelta "pandas.to_timedelta") with a read-only array incorrectly raising ([GH 34857](https://github.com/pandas-dev/pandas/issues/34857))
* Bug in [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
03332e44-0c14-5ad2-b979-7ca0556590c3 | changelog | pandas | pandas_whatsnew | 1.2.0 | 61 | ### Numeric[#](#numeric "Link to this heading")
* Bug in [`to_numeric()`](../reference/api/pandas.to_numeric.html#pandas.to_numeric "pandas.to_numeric") where float precision was incorrect ([GH 31364](https://github.com/pandas-dev/pandas/issues/31364))
* Bug in [`DataFrame.any()`](../reference/api/pandas.DataFrame.any... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
fb85c493-09ac-57d9-829e-b8fe818b2811 | changelog | pandas | pandas_whatsnew | 1.2.0 | 62 | * Bug in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") where two Series each have a [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") with different time zones having those indexes incorrectly changed when performing arithmetic oper... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
c519b0ff-9d5a-569e-93ab-a8ed1272c4a9 | changelog | pandas | pandas_whatsnew | 1.2.0 | 63 | * Bug in [`IntegerArray`](../reference/api/pandas.arrays.IntegerArray.html#pandas.arrays.IntegerArray "pandas.arrays.IntegerArray") multiplication with `timedelta` and `np.timedelta64` objects ([GH 36870](https://github.com/pandas-dev/pandas/issues/36870))
* Bug in [`MultiIndex`](../reference/api/pandas.MultiIndex.html... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
a7ed97b0-074a-516e-bfc4-caf87ba0b552 | changelog | pandas | pandas_whatsnew | 1.2.0 | 64 | * Bug in [`IntervalArray`](../reference/api/pandas.arrays.IntervalArray.html#pandas.arrays.IntervalArray "pandas.arrays.IntervalArray") comparisons with [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") not returning Series ([GH 36908](https://github.com/pandas-dev/pandas/issues/36908))
* Bu... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
0bdf9629-9d97-5152-b093-ab9e3883e07d | changelog | pandas | pandas_whatsnew | 1.2.0 | 65 | * Bug in [`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") with `datetime64` dtype and `skipna=False` ([GH 36907](https://github.com/pandas-dev/pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
75954f94-b6e5-5eaa-8bd6-f2cd8e711abe | changelog | pandas | pandas_whatsnew | 1.2.0 | 66 | * Bug in [`DataFrame.to_dict()`](../reference/api/pandas.DataFrame.to_dict.html#pandas.DataFrame.to_dict "pandas.DataFrame.to_dict") with `orient='records'` now returns python native datetime objects for datetime-like columns ([GH 21256](https://github.com/pandas-dev/pandas/issues/21256))
* Bug in [`Series.astype()`](.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
441d2297-aac9-53f6-b44a-87881e2db4f7 | changelog | pandas | pandas_whatsnew | 1.2.0 | 67 | * Bug in [`Series.to_string()`](../reference/api/pandas.Series.to_string.html#pandas.Series.to_string "pandas.Series.to_string"), [`DataFrame.to_string()`](../reference/api/pandas.DataFrame.to_string.html#pandas.DataFrame.to_string "pandas.DataFrame.to_string"), and [`DataFrame.to_latex()`](../reference/api/pandas.Data... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f0024d91-156c-57c9-ba93-fb51379877cb | changelog | pandas | pandas_whatsnew | 1.2.0 | 68 | * Bug in [`DataFrame.replace()`](../reference/api/pandas.DataFrame.replace.html#pandas.DataFrame.replace "pandas.DataFrame.replace") and [`Series.replace()`](../reference/api/pandas.Series.replace.html#pandas.Series.replace "pandas.Series.replace") where [`Interval`](../reference/api/pandas.Interval.html#pandas.Interva... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
43977a80-c0e5-5213-84dc-819ecc35b24b | changelog | pandas | pandas_whatsnew | 1.2.0 | 69 | ### Indexing[#](#indexing "Link to this heading")
* Bug in `PeriodIndex.get_loc()` incorrectly raising `ValueError` on non-datelike strings instead of `KeyError`, causing similar errors in `Series.__getitem__()`, `Series.__contains__()`, and `Series.loc.__getitem__()` ([GH 34240](https://github.com/pandas-dev/pandas/i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
00eb8c2c-7d3d-5f4f-a43e-e9ae7e412f09 | changelog | pandas | pandas_whatsnew | 1.2.0 | 70 | * Bug in [`Index.get_indexer()`](../reference/api/pandas.Index.get_indexer.html#pandas.Index.get_indexer "pandas.Index.get_indexer") and [`Index.get_indexer_non_unique()`](../reference/api/pandas.Index.get_indexer_non_unique.html#pandas.Index.get_indexer_non_unique "pandas.Index.get_indexer_non_unique") where `int64` a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
075c5240-a2dd-5b3b-a8e6-f341a62fda0e | changelog | pandas | pandas_whatsnew | 1.2.0 | 71 | * Bug in [`DataFrame.reset_index()`](../reference/api/pandas.DataFrame.reset_index.html#pandas.DataFrame.reset_index "pandas.DataFrame.reset_index") was incorrectly raising a `ValueError` for input with a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") with missing values i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
c97b9ec1-a335-59c7-b016-2dc0a7adc0ed | changelog | pandas | pandas_whatsnew | 1.2.0 | 72 | * Bug in `Series.loc.__getitem__()` with a non-unique [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") and an empty-list indexer ([GH 13691](https://github.com/pandas-dev/pandas/issues/13691))
* Bug in indexing on a [`Series`](../reference/api/pandas.Series.html#pandas.Serie... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
7aed33e2-aa97-50e6-95d1-c1a5ca8c61d5 | changelog | pandas | pandas_whatsnew | 1.2.0 | 73 | * Bug in [`Index.where()`](../reference/api/pandas.Index.where.html#pandas.Index.where "pandas.Index.where") incorrectly casting numeric values to strings ([GH 37591](https://github.com/pandas-dev/pandas/issues/37591))
* Bug in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
04d184af-85f0-5321-afe0-7092cce7bb26 | changelog | pandas | pandas_whatsnew | 1.2.0 | 74 | * Bug in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") returned requested key plus missing values when `loc` was applied to single level from a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") ([GH 27104](https://... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f6d8f702-8362-5955-9c2e-34a6e92f2f35 | changelog | pandas | pandas_whatsnew | 1.2.0 | 75 | * Bug in [`DataFrame.xs()`](../reference/api/pandas.DataFrame.xs.html#pandas.DataFrame.xs "pandas.DataFrame.xs") ignored `droplevel=False` for columns ([GH 19056](https://github.com/pandas-dev/pandas/issues/19056))
* Bug in [`DataFrame.reindex()`](../reference/api/pandas.DataFrame.reindex.html#pandas.DataFrame.reindex ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
38f93d8b-1bfc-5079-b1a5-154a6dcae360 | changelog | pandas | pandas_whatsnew | 1.2.0 | 76 | * Bug in indexing on a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") or [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") with a [`CategoricalIndex`](../reference/api/pandas.CategoricalIndex.html#pandas.CategoricalIndex "pandas.CategoricalIndex") u... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
355982db-cb9c-5cfc-9add-e2d1acf9ecff | changelog | pandas | pandas_whatsnew | 1.2.0 | 77 | * Bug in [`DataFrame.iloc()`](../reference/api/pandas.DataFrame.iloc.html#pandas.DataFrame.iloc "pandas.DataFrame.iloc") and [`Series.iloc()`](../reference/api/pandas.Series.iloc.html#pandas.Series.iloc "pandas.Series.iloc") aligning objects in `__setitem__` ([GH 22046](https://github.com/pandas-dev/pandas/issues/22046... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
3b132e14-9b8d-5d37-afd0-a882bb78328f | changelog | pandas | pandas_whatsnew | 1.2.0 | 78 | * Bug in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") raising `TypeError` when non-integer slice was given to select values from [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") ([GH 25165](https://github.com/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
bdc41d96-ce4e-5ecc-a857-20978fdbfc13 | changelog | pandas | pandas_whatsnew | 1.2.0 | 79 | * Bug in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") returning and assigning elements in wrong order when indexer is differently ordered than the [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") to filter ([GH 3... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
39250310-c2cf-5b68-b096-c8fb2e6ede04 | changelog | pandas | pandas_whatsnew | 1.2.0 | 80 | * Bug in `Series.__getitem__()` and `DataFrame.__getitem__()` raising blank `KeyError` without missing keys for [`IntervalIndex`](../reference/api/pandas.IntervalIndex.html#pandas.IntervalIndex "pandas.IntervalIndex") ([GH 27365](https://github.com/pandas-dev/pandas/issues/27365))
* Bug in setting a new label on a [`Da... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
7eb6155c-1b78-564e-8aeb-1c90e0cbfc7e | changelog | pandas | pandas_whatsnew | 1.2.0 | 81 | * Bug in [`Series.loc()`](../reference/api/pandas.Series.loc.html#pandas.Series.loc "pandas.Series.loc") and [`Series.iloc()`](../reference/api/pandas.Series.iloc.html#pandas.Series.iloc "pandas.Series.iloc") raising `ValueError` when inserting a list-like `np.array`, `list` or `tuple` in an `object` Series of equal le... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
9e4a464b-2b0d-576b-873e-12d7bb4e347a | changelog | pandas | pandas_whatsnew | 1.2.0 | 82 | ### Missing[#](#missing "Link to this heading")
* Bug in [`SeriesGroupBy.transform()`](../reference/api/pandas.core.groupby.SeriesGroupBy.transform.html#pandas.core.groupby.SeriesGroupBy.transform "pandas.core.groupby.SeriesGroupBy.transform") now correctly handles missing values for `dropna=False` ([GH 35014](https:/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
086b8811-5276-589e-85fa-6d67d18e0620 | changelog | pandas | pandas_whatsnew | 1.2.0 | 83 | ### MultiIndex[#](#multiindex "Link to this heading")
* Bug in [`DataFrame.xs()`](../reference/api/pandas.DataFrame.xs.html#pandas.DataFrame.xs "pandas.DataFrame.xs") when used with [`IndexSlice`](../reference/api/pandas.IndexSlice.html#pandas.IndexSlice "pandas.IndexSlice") raises `TypeError` with message `"Expected ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f693ec32-3bee-5e00-bf8e-cd153e571bb1 | changelog | pandas | pandas_whatsnew | 1.2.0 | 84 | * Bug in [`DataFrame.combine_first()`](../reference/api/pandas.DataFrame.combine_first.html#pandas.DataFrame.combine_first "pandas.DataFrame.combine_first") when used with [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") containing string and `NaN` values raises `TypeError` ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
195e541e-d215-504c-b45f-bc92821048de | changelog | pandas | pandas_whatsnew | 1.2.0 | 85 | ### I/O[#](#i-o "Link to this heading")
* [`read_sas()`](../reference/api/pandas.read_sas.html#pandas.read_sas "pandas.read_sas") no longer leaks resources on failure ([GH 35566](https://github.com/pandas-dev/pandas/issues/35566))
* Bug in [`DataFrame.to_csv()`](../reference/api/pandas.DataFrame.to_csv.html#pandas.Dat... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
f4758698-b028-5b82-8d07-a0265704cb01 | changelog | pandas | pandas_whatsnew | 1.2.0 | 86 | * `to_pickle()` and [`read_pickle()`](../reference/api/pandas.read_pickle.html#pandas.read_pickle "pandas.read_pickle") were closing user-provided file objects ([GH 35679](https://github.com/pandas-dev/pandas/issues/35679))
* `to_csv()` passes compression arguments for `'gzip'` always to `gzip.GzipFile` ([GH 28103](htt... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
9118d9e8-ea6e-5046-9820-53ec36810d29 | changelog | pandas | pandas_whatsnew | 1.2.0 | 87 | * [`DataFrame.to_pickle()`](../reference/api/pandas.DataFrame.to_pickle.html#pandas.DataFrame.to_pickle "pandas.DataFrame.to_pickle"), [`Series.to_pickle()`](../reference/api/pandas.Series.to_pickle.html#pandas.Series.to_pickle "pandas.Series.to_pickle"), and [`read_pickle()`](../reference/api/pandas.read_pickle.html#p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
112ef614-293c-5573-a564-bc224d870501 | changelog | pandas | pandas_whatsnew | 1.2.0 | 88 | * Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") with `engine='python'` truncating data if multiple items present in first row and first element started with BOM ([GH 36343](https://github.com/pandas-dev/pandas/issues/36343))
* Removed `private_key` and `verbose` from [`r... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
ab1ea034-835c-5267-a866-993043c93afe | changelog | pandas | pandas_whatsnew | 1.2.0 | 89 | * Bug in [`read_table()`](../reference/api/pandas.read_table.html#pandas.read_table "pandas.read_table") and [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") when `delim_whitespace=True` and `sep=default` ([GH 36583](https://github.com/pandas-dev/pandas/issues/36583))
* Bug in [`D... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
e0e6e588-9b61-5918-b425-982f29d03196 | changelog | pandas | pandas_whatsnew | 1.2.0 | 90 | * Bug in [`read_parquet()`](../reference/api/pandas.read_parquet.html#pandas.read_parquet "pandas.read_parquet") with fixed offset time zones. String representation of time zones was not recognized ([GH 35997](https://github.com/pandas-dev/pandas/issues/35997), [GH 36004](https://github.com/pandas-dev/pandas/issues/360... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
b696d4ec-5b7e-503d-80df-548ba34c2bdc | changelog | pandas | pandas_whatsnew | 1.2.0 | 91 | * Bug in output rendering of complex numbers showing too many trailing zeros ([GH 36799](https://github.com/pandas-dev/pandas/issues/36799))
* Bug in `HDFStore` threw a `TypeError` when exporting an empty DataFrame with `datetime64[ns, tz]` dtypes with a fixed HDF5 store ([GH 20594](https://github.com/pandas-dev/pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
230c4c04-5377-5858-9605-81b04d8aa6e8 | changelog | pandas | pandas_whatsnew | 1.2.0 | 92 | * Bug in [`DataFrame.to_hdf()`](../reference/api/pandas.DataFrame.to_hdf.html#pandas.DataFrame.to_hdf "pandas.DataFrame.to_hdf") was not dropping missing rows with `dropna=True` ([GH 35719](https://github.com/pandas-dev/pandas/issues/35719))
* Bug in [`read_html()`](../reference/api/pandas.read_html.html#pandas.read_ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
742fd552-73b9-548d-a923-de7c3e2278b2 | changelog | pandas | pandas_whatsnew | 1.2.0 | 93 | * [`DataFrame.to_excel()`](../reference/api/pandas.DataFrame.to_excel.html#pandas.DataFrame.to_excel "pandas.DataFrame.to_excel"), [`Series.to_excel()`](../reference/api/pandas.Series.to_excel.html#pandas.Series.to_excel "pandas.Series.to_excel"), [`DataFrame.to_markdown()`](../reference/api/pandas.DataFrame.to_markdow... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
8919fb46-9c53-5a4e-892f-4dba2982cc9d | changelog | pandas | pandas_whatsnew | 1.2.0 | 94 | * Parse missing values using [`read_json()`](../reference/api/pandas.read_json.html#pandas.read_json "pandas.read_json") with `dtype=False` to `NaN` instead of `None` ([GH 28501](https://github.com/pandas-dev/pandas/issues/28501))
* [`read_fwf()`](../reference/api/pandas.read_fwf.html#pandas.read_fwf "pandas.read_fwf")... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
dacaefdc-01d9-586f-b421-707e4b8a8598 | changelog | pandas | pandas_whatsnew | 1.2.0 | 95 | * [`DataFrame.to_csv()`](../reference/api/pandas.DataFrame.to_csv.html#pandas.DataFrame.to_csv "pandas.DataFrame.to_csv") was re-opening file-like handles that also implement `os.PathLike` ([GH 38125](https://github.com/pandas-dev/pandas/issues/38125))
* Bug in the conversion of a sliced `pyarrow.Table` with missing va... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
e49499d0-a0ee-56cd-8368-a94a5083687d | changelog | pandas | pandas_whatsnew | 1.2.0 | 96 | * Bug in [`DataFrame.replace()`](../reference/api/pandas.DataFrame.replace.html#pandas.DataFrame.replace "pandas.DataFrame.replace") and [`Series.replace()`](../reference/api/pandas.Series.replace.html#pandas.Series.replace "pandas.Series.replace") where [`Period`](../reference/api/pandas.Period.html#pandas.Period "pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
adf718c4-4431-5a76-ad49-8daf156b8afe | changelog | pandas | pandas_whatsnew | 1.2.0 | 97 | * Bug in [`DataFrame.plot()`](../reference/api/pandas.DataFrame.plot.html#pandas.DataFrame.plot "pandas.DataFrame.plot") where a marker letter in the `style` keyword sometimes caused a `ValueError` ([GH 21003](https://github.com/pandas-dev/pandas/issues/21003))
* Bug in [`DataFrame.plot.bar()`](../reference/api/pandas.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
ee8ae274-e360-5c9f-a211-55f99fe939da | changelog | pandas | pandas_whatsnew | 1.2.0 | 98 | * Twinned axes were losing their tick labels which should only happen to all but the last row or column of ‘externally’ shared axes ([GH 33819](https://github.com/pandas-dev/pandas/issues/33819))
* Bug in [`Series.plot()`](../reference/api/pandas.Series.plot.html#pandas.Series.plot "pandas.Series.plot") and [`DataFrame... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
58faddf3-677f-502d-8830-132d8f782487 | changelog | pandas | pandas_whatsnew | 1.2.0 | 99 | * Bug in [`DataFrameGroupBy.boxplot()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.boxplot.html#pandas.core.groupby.DataFrameGroupBy.boxplot "pandas.core.groupby.DataFrameGroupBy.boxplot") when `subplots=False` would raise a `KeyError` ([GH 16748](https://github.com/pandas-dev/pandas/issues/16748))
* Bug in ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
86ad0684-c3dd-5fcd-91aa-fa450aff5903 | changelog | pandas | pandas_whatsnew | 1.2.0 | 100 | ### Styler[#](#styler "Link to this heading")
* Bug in `Styler.render()` HTML was generated incorrectly because of formatting error in `rowspan` attribute, it now matches with w3 syntax ([GH 38234](https://github.com/pandas-dev/pandas/issues/38234))
### Groupby/resample/rolling[#](#groupby-resample-rolling "Link to t... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_1.2.0.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.