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 |
|---|---|---|---|---|---|---|---|
debc9a93-f2de-510a-a789-55b7229d07b4 | changelog | pandas | pandas_whatsnew | 0.20.1 | 20 | In [34]: chromosomes = np.r_[np.arange(1, 23).astype(str), ['X', 'Y']]
In [35]: df = pd.DataFrame({
....: 'A': np.random.randint(100),
....: 'B': np.random.randint(100),
....: 'C': np.random.randint(100),
....: 'chromosomes': pd.Categorical(np.random.choice(chromosomes, 100),
....: ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
c9d6a0df-bef1-5a8a-8691-50110dacc52c | changelog | pandas | pandas_whatsnew | 0.20.1 | 21 | ValueError: items in new_categories are not the same as in old categories
```
**New behavior**:
```None
In [37]: df[df.chromosomes != '1'].groupby('chromosomes', observed=False, sort=False).sum()
Out[37]:
A B C
chromosomes
4 348 88 324
13 261 66 243
22 ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
8659934e-9116-504d-97c5-49bcf3924f3a | changelog | pandas | pandas_whatsnew | 0.20.1 | 22 | ....: 'B': ['a', 'b', 'c'],
....: 'C': pd.date_range('2016-01-01', freq='d', periods=3)},
....: index=pd.Index(range(3), name='idx'))
....:
In [39]: df
Out[39]:
A B C
idx
0 1 a 2016-01-01
1 2 b 2016-01-02
2 3 c 2016-01-03
[3 rows x 3 columns]
In... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
fcacb1ca-3b18-5e6c-9816-a46cd6df5fa2 | changelog | pandas | pandas_whatsnew | 0.20.1 | 23 | using IPython (or another frontend like [nteract](https://nteract.io/) using the Jupyter messaging
protocol).
This gives frontends like the Jupyter notebook and [nteract](https://nteract.io/)
more flexibility in how they display pandas objects, since they have
more information about the data.
You must enable this by se... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
4f7e96b6-6b01-52a2-9d6a-02198d0606c3 | changelog | pandas | pandas_whatsnew | 0.20.1 | 24 | arr = np.random.random(size=(1000, 5))
arr[arr < .9] = 0
sp_arr = csr_matrix(arr)
sp_arr
sdf = pd.SparseDataFrame(sp_arr)
sdf
```
To convert a `SparseDataFrame` back to sparse SciPy matrix in COO format, you can use:
```None
sdf.to_coo()
```
### Excel output for styled DataFrames[#](#excel-output-for-styled-datafram... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
b06533c7-b3d4-515b-8981-96ff1625650d | changelog | pandas | pandas_whatsnew | 0.20.1 | 25 | 0 1.0 1.329212 NaN -0.316280 -0.990810
1 2.0 -1.070816 -1.438713 0.564417 0.295722
2 3.0 -1.626404 0.219565 0.678805 1.889273
3 4.0 0.961538 0.104011 -0.481165 0.850229
4 5.0 1.453425 1.057737 0.165562 0.515018
5 6.0 -1.336936 0.562861 1.392855 -0.063328
6 7.0 0.121668 1.207603 -0.0... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
1c755ae7-72d7-5409-a66b-a5204984c805 | changelog | pandas | pandas_whatsnew | 0.20.1 | 26 | ### IntervalIndex[#](#intervalindex "Link to this heading")
pandas has gained an `IntervalIndex` with its own dtype, `interval` as well as the `Interval` scalar type. These allow first-class support for interval
notation, specifically as a return type for the categories in [`cut()`](../reference/api/pandas.cut.html#pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
5c330941-5ae6-507c-b926-4b572c2be055 | changelog | pandas | pandas_whatsnew | 0.20.1 | 27 | Categories (2, object): [(-0.003, 1.5] < (1.5, 3]]
In [3]: c.categories
Out[3]: Index(['(-0.003, 1.5]', '(1.5, 3]'], dtype='object')
```
New behavior:
```None
In [48]: c = pd.cut(range(4), bins=2)
In [49]: c
Out[49]:
[(-0.003, 1.5], (-0.003, 1.5], (1.5, 3.0], (1.5, 3.0]]
Categories (2, interval[float64, right]): [... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
ebe4ffe8-9882-5980-9491-0a30ffc493b5 | changelog | pandas | pandas_whatsnew | 0.20.1 | 28 | ....: }).set_index('B')
....:
In [53]: df
Out[53]:
A
B
(-0.003, 1.5] 0
(1.5, 3.0] 1
(-0.003, 1.5] 2
(-0.003, 1.5] 3
[4 rows x 1 columns]
```
Selecting via a specific interval:
```None
In [54]: df.loc[pd.Interval(1.5, 3.0)]
Out[54]:
A 1
Name: (1.5, ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
b8da5f3c-2494-5567-a5f0-2cf03ef7e9e3 | changelog | pandas | pandas_whatsnew | 0.20.1 | 29 | * Integration with the `feather-format`, including a new top-level `pd.read_feather()` and `DataFrame.to_feather()` method, see [here](../user_guide/io.html#io-feather).
* `Series.str.replace()` now accepts a callable, as replacement, which is passed to `re.sub` ([GH 15055](https://github.com/pandas-dev/pandas/issues/1... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
550c0616-6bd0-5fe9-8fbd-0c7ae385bd67 | changelog | pandas | pandas_whatsnew | 0.20.1 | 30 | * `DataFrame` has gained a `melt()` method, equivalent to `pd.melt()`, for unpivoting from a wide to long format ([GH 12640](https://github.com/pandas-dev/pandas/issues/12640)).
* `pd.read_excel()` now preserves sheet order when using `sheetname=None` ([GH 9930](https://github.com/pandas-dev/pandas/issues/9930))
* Mult... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
3fc393a4-550f-51cd-abb6-22a371030d04 | changelog | pandas | pandas_whatsnew | 0.20.1 | 31 | * `MultiIndex` has gained a `.to_frame()` method to convert to a `DataFrame` ([GH 12397](https://github.com/pandas-dev/pandas/issues/12397))
* `pd.cut` and `pd.qcut` now support datetime64 and timedelta64 dtypes ([GH 14714](https://github.com/pandas-dev/pandas/issues/14714), [GH 14798](https://github.com/pandas-dev/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
6292bf85-dde9-5436-bf34-aefa08c40650 | changelog | pandas | pandas_whatsnew | 0.20.1 | 32 | * The `nrows` and `chunksize` arguments in `pd.read_csv()` are supported if both are passed ([GH 6774](https://github.com/pandas-dev/pandas/issues/6774), [GH 15755](https://github.com/pandas-dev/pandas/issues/15755))
* `DataFrame.plot` now prints a title above each subplot if `suplots=True` and `title` is a list of str... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
17b72d34-0ebe-5a00-a8fc-e388364ad5d4 | changelog | pandas | pandas_whatsnew | 0.20.1 | 33 | * `DataFrame.reset_index()` will now interpret a tuple `index.name` as a key spanning across levels of `columns`, if this is a `MultiIndex` ([GH 16164](https://github.com/pandas-dev/pandas/issues/16164))
* `Timedelta.isoformat` method added for formatting Timedeltas as an [ISO 8601 duration](https://en.wikipedia.org/wi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
271e70d3-e5c7-552a-84a6-922bd0476fa1 | changelog | pandas | pandas_whatsnew | 0.20.1 | 34 | * `Series/DataFrame.asfreq()` have gained a `fill_value` parameter, to fill missing values ([GH 3715](https://github.com/pandas-dev/pandas/issues/3715)).
* `Series/DataFrame.resample.asfreq` have gained a `fill_value` parameter, to fill missing values during resampling ([GH 3715](https://github.com/pandas-dev/pandas/is... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
c86e8493-7e68-596f-b2a6-3d2695b80cb3 | changelog | pandas | pandas_whatsnew | 0.20.1 | 35 | * `pd.read_html()` will parse multiple header rows, creating a MultiIndex header. ([GH 13434](https://github.com/pandas-dev/pandas/issues/13434)).
* HTML table output skips `colspan` or `rowspan` attribute if equal to 1. ([GH 15403](https://github.com/pandas-dev/pandas/issues/15403))
* [`pandas.io.formats.style.Styler`... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
10f7a312-092c-52ee-ad96-0c2ec9dd225f | changelog | pandas | pandas_whatsnew | 0.20.1 | 36 | * `TimedeltaIndex` now has a custom date-tick formatter specifically designed for nanosecond level precision ([GH 8711](https://github.com/pandas-dev/pandas/issues/8711))
* `pd.api.types.union_categoricals` gained the `ignore_ordered` argument to allow ignoring the ordered attribute of unioned categoricals ([GH 13410](... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
1af29ce4-9cfc-5a2e-a930-53adffe8c24c | changelog | pandas | pandas_whatsnew | 0.20.1 | 37 | * Enabled floor division for `Timedelta` and `TimedeltaIndex` ([GH 15828](https://github.com/pandas-dev/pandas/issues/15828))
* `pandas.io.json.json_normalize()` gained the option `errors='ignore'|'raise'`; the default is `errors='raise'` which is backward compatible. ([GH 14583](https://github.com/pandas-dev/pandas/is... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
054c7bb5-8110-5508-a2ee-c28885629aa0 | changelog | pandas | pandas_whatsnew | 0.20.1 | 38 | * [`MultiIndex.remove_unused_levels()`](../reference/api/pandas.MultiIndex.remove_unused_levels.html#pandas.MultiIndex.remove_unused_levels "pandas.MultiIndex.remove_unused_levels") has been added to facilitate [removing unused levels](../user_guide/advanced.html#advanced-shown-levels). ([GH 15694](https://github.com/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
12e971f7-abde-59ef-b190-051a2f7261b7 | changelog | pandas | pandas_whatsnew | 0.20.1 | 39 | * `parallel_coordinates()` has gained a `sort_labels` keyword argument that sorts class labels and the colors assigned to them ([GH 15908](https://github.com/pandas-dev/pandas/issues/15908))
* Options added to allow one to turn on/off using `bottleneck` and `numexpr`, see [here](../user_guide/basics.html#basics-acceler... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
f0da31f0-780b-5425-83c4-427ea79d88fe | changelog | pandas | pandas_whatsnew | 0.20.1 | 40 | ### Possible incompatibility for HDF5 formats created with pandas < 0.13.0[#](#possible-incompatibility-for-hdf5-formats-created-with-pandas-0-13-0 "Link to this heading")
`pd.TimeSeries` was deprecated officially in 0.17.0, though has already been an alias since 0.13.0. It has
been dropped in favor of `pd.Series`. ([... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
67828868-4a69-598e-bd60-69f10631029b | changelog | pandas | pandas_whatsnew | 0.20.1 | 41 | 2013-01-02 2
2013-01-03 3
Freq: D, dtype: int64
In [7]: type(s)
Out[7]: pandas.core.series.Series
```
### Map on Index types now return other Index types[#](#map-on-index-types-now-return-other-index-types "Link to this heading")
`map` on an `Index` now returns an `Index`, not a numpy array ([GH 12766](https:/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
ef81d0a3-f25e-50ca-800d-0e51ba4b836f | changelog | pandas | pandas_whatsnew | 0.20.1 | 42 | In [61]: idx.map(lambda x: (x, x * 2))
Out[61]:
MultiIndex([(1, 2),
(2, 4)],
)
In [62]: mi.map(lambda x: x)
Out[62]:
MultiIndex([(1, 2),
(2, 4)],
)
In [63]: mi.map(lambda x: x[0])
Out[63]: Index([1, 2], dtype='int64')
```
`map` on a `Series` with `datetime64` values ma... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
df9ce304-3f06-5db3-ac19-1d6a5f7b481d | changelog | pandas | pandas_whatsnew | 0.20.1 | 43 | ### Accessing datetime fields of Index now return Index[#](#accessing-datetime-fields-of-index-now-return-index "Link to this heading")
The datetime-related attributes (see [here](../user_guide/timeseries.html#timeseries-components)
for an overview) of `DatetimeIndex`, `PeriodIndex` and `TimedeltaIndex` previously
ret... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
a8daeaef-324f-555a-abef-e52e98b0ffb5 | changelog | pandas | pandas_whatsnew | 0.20.1 | 44 | compared to numpy arrays, `Index` objects are not mutable. To get the original
ndarray, you can always convert explicitly using `np.asarray(idx.hour)`.
### pd.unique will now be consistent with extension types[#](#pd-unique-will-now-be-consistent-with-extension-types "Link to this heading")
In prior versions, using [... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
2e046d65-0e5a-5902-aa72-cd78de4e7ef1 | changelog | pandas | pandas_whatsnew | 0.20.1 | 45 | In [6]: pd.unique(pd.Series([pd.Timestamp('20160101', tz='US/Eastern'),
...: pd.Timestamp('20160101', tz='US/Eastern')]))
Out[6]: array(['2016-01-01T05:00:00.000000000'], dtype='datetime64[ns]')
# Index
In [7]: pd.Index([pd.Timestamp('20160101', tz='US/Eastern'),
...: p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
d3860dbb-d2af-5b24-a986-dbb6f443ef9c | changelog | pandas | pandas_whatsnew | 0.20.1 | 46 | Length: 1, dtype: datetime64[ns, US/Eastern]
In [65]: pd.unique(pd.Series([pd.Timestamp('20160101', tz='US/Eastern'),
....: pd.Timestamp('20160101', tz='US/Eastern')]))
....:
Out[65]:
<DatetimeArray>
['2016-01-01 00:00:00-05:00']
Length: 1, dtype: datetime64[ns, US/Eastern]
# Index... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
26dd89d8-8a47-5936-bfa0-afce6b69e59a | changelog | pandas | pandas_whatsnew | 0.20.1 | 47 | Categories (3, object): [b, a, c]
In [2]: pd.unique(pd.Series(list('baabc'), dtype='category'))
Out[2]: array(['b', 'a', 'c'], dtype=object)
```
New behavior:
```None
# returns a Categorical
In [68]: pd.Series(list('baabc'), dtype='category').unique()
Out[68]:
['b', 'a', 'c']
Categories (3, ob... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
7933f47b-991c-58f2-949c-d59f5a748ab7 | changelog | pandas | pandas_whatsnew | 0.20.1 | 48 | ### Partial string indexing changes[#](#partial-string-indexing-changes "Link to this heading")
[DatetimeIndex Partial String Indexing](../user_guide/timeseries.html#timeseries-partialindexing) now works as an exact match, provided that string resolution coincides with index resolution, including a case when both are ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
519c28f9-98c8-5314-b911-a3314044f75a | changelog | pandas | pandas_whatsnew | 0.20.1 | 49 | In [4]: df['2011-12-31 23:59:59']
KeyError: '2011-12-31 23:59:59'
In [5]: df['a']['2011-12-31 23:59:59']
Out[5]: 1
```
### Concat of different float dtypes will not automatically upcast[#](#concat-of-different-float-dtypes-will-not-automatically-upcast "Link to this heading")
Previously, `concat` of multiple objects... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
8b619198-bebd-5c8f-bc6b-ae6664cea9a3 | changelog | pandas | pandas_whatsnew | 0.20.1 | 50 | Length: 1, dtype: object
```
### pandas Google BigQuery support has moved[#](#pandas-google-bigquery-support-has-moved "Link to this heading")
pandas has split off Google BigQuery support into a separate package `pandas-gbq`. You can `conda install pandas-gbq -c conda-forge` or
`pip install pandas-gbq` to get it. The... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
464af7f8-404b-5ae7-b9b5-7b23e5d83b31 | changelog | pandas | pandas_whatsnew | 0.20.1 | 51 | In previous versions, showing `.memory_usage()` on a pandas structure that has an index, would only include actual index values and not include structures that facilitated fast indexing. This will generally be different for `Index` and `MultiIndex` and less-so for other index types. ([GH 15237](https://github.com/panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
2c8cdc9f-0618-5e3b-a6b3-d3090e0a0e9c | changelog | pandas | pandas_whatsnew | 0.20.1 | 52 | This would happen with a `lexsorted`, but non-monotonic levels. ([GH 15622](https://github.com/pandas-dev/pandas/issues/15622), [GH 15687](https://github.com/pandas-dev/pandas/issues/15687), [GH 14015](https://github.com/pandas-dev/pandas/issues/14015), [GH 13431](https://github.com/pandas-dev/pandas/issues/13431), [GH... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
1a07f32f-66d7-5d5c-8bff-0e4cd21c3e7b | changelog | pandas | pandas_whatsnew | 0.20.1 | 53 | [3 rows x 1 columns]
```
```None
In [90]: df.sort_index().index.is_lexsorted()
Out[90]: True
In [91]: df.sort_index().index.is_monotonic
Out[91]: True
```
However, this example, which has a non-monotonic 2nd level,
doesn’t behave as desired.
```None
In [77]: df = pd.DataFrame({'value': [1, 2, 3, 4]},
....: ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
94f02984-cc8c-5293-bbbe-9822d23d57f8 | changelog | pandas | pandas_whatsnew | 0.20.1 | 54 | Out[95]: True
In [96]: df.sort_index().index.is_monotonic
Out[96]: True
```
### GroupBy describe formatting[#](#groupby-describe-formatting "Link to this heading")
The output formatting of `groupby.describe()` now labels the `describe()` metrics in the columns instead of the index.
This format is consistent with `gr... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
6015245c-3663-512a-8c5f-30b232d63e38 | changelog | pandas | pandas_whatsnew | 0.20.1 | 55 | 2 3.5 0.707107 3 4
```
New behavior:
```None
In [79]: df = pd.DataFrame({'A': [1, 1, 2, 2], 'B': [1, 2, 3, 4]})
In [80]: df.groupby('A').describe()
Out[80]:
B
count mean std min 25% 50% 75% max
A
1... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
23f6f490-63fc-574c-b89d-189820f6d388 | changelog | pandas | pandas_whatsnew | 0.20.1 | 56 | will now return a 2-level `MultiIndexed DataFrame` rather than a `Panel`, as `Panel` is now deprecated,
see [here](#whatsnew-0200-api-breaking-deprecate-panel). These are equivalent in function,
but a MultiIndexed `DataFrame` enjoys more support in pandas.
See the section on [Windowed Binary Operations](../user_guide/w... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
d54ec3af-f4c4-5a30-81aa-9f0c62995469 | changelog | pandas | pandas_whatsnew | 0.20.1 | 57 | Previous behavior:
```None
In [2]: df.rolling(12).corr()
Out[2]:
<class 'pandas.core.panel.Panel'>
Dimensions: 100 (items) x 2 (major_axis) x 2 (minor_axis)
Items axis: 2016-01-01 00:00:00 to 2016-04-09 00:00:00
Major_axis axis: A to B
Minor_axis axis: A to B
```
New behavior:
```None
In [85]: res = df.rolling(12).c... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
47f8fdbe-ba07-5dc1-9a6f-e2c451effa9c | changelog | pandas | pandas_whatsnew | 0.20.1 | 58 | ### HDFStore where string comparison[#](#hdfstore-where-string-comparison "Link to this heading")
In previous versions most types could be compared to string column in a `HDFStore`
usually resulting in an invalid comparison, returning an empty result frame. These comparisons will now raise a
`TypeError` ([GH 15492](ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
654983c2-2a1b-5696-a0e2-f174f3e79eeb | changelog | pandas | pandas_whatsnew | 0.20.1 | 59 | TypeError: Cannot compare 2014-01-01 00:00:00 of
type <class 'pandas.tslib.Timestamp'> to string column
```
### Index.intersection and inner join now preserve the order of the left Index[#](#index-intersection-and-inner-join-now-preserve-the-order-of-the-left-index "Link to this heading")
[`Index.intersection()`](../... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
b869e915-f5b3-52fc-9e47-8658138c4a8b | changelog | pandas | pandas_whatsnew | 0.20.1 | 60 | Out[94]: Index([1, 2, 3], dtype='int64')
```
Previous behavior:
```None
In [4]: left.intersection(right)
Out[4]: Int64Index([1, 2], dtype='int64')
```
New behavior:
```None
In [95]: left.intersection(right)
Out[95]: Index([2, 1], dtype='int64')
```
* `DataFrame.join` and `pd.merge`
```Non... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
dddd3092-8612-51b6-9c0b-c88f23a59d58 | changelog | pandas | pandas_whatsnew | 0.20.1 | 61 | ### Pivot table always returns a DataFrame[#](#pivot-table-always-returns-a-dataframe "Link to this heading")
The documentation for [`pivot_table()`](../reference/api/pandas.pivot_table.html#pandas.pivot_table "pandas.pivot_table") states that a `DataFrame` is *always* returned. Here a bug
is fixed that allowed this t... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
c61d7fed-0fa0-5188-946b-8faf226a21ea | changelog | pandas | pandas_whatsnew | 0.20.1 | 62 | Out[103]:
col1
col3 col2
1 C 3
3 D 4
9 E 5
[3 rows x 1 columns]
```
### Other API changes[#](#other-api-changes "Link to this heading")
* `numexpr` version is now required to be >= 2.4.6 and it will not be used at all if this requisite is not fulfilled ([GH 15213](http... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
e1d8160f-275a-5ced-ad9d-3d9829e225db | changelog | pandas | pandas_whatsnew | 0.20.1 | 63 | * `Series.map()` now respects default values of dictionary subclasses with a `__missing__` method, such as `collections.Counter` ([GH 15999](https://github.com/pandas-dev/pandas/issues/15999))
* `.loc` has compat with `.ix` for accepting iterators, and NamedTuples ([GH 15120](https://github.com/pandas-dev/pandas/issues... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
1ba4271f-481e-5383-90bd-21417c43aa20 | changelog | pandas | pandas_whatsnew | 0.20.1 | 64 | * `inplace` arguments now require a boolean value, else a `ValueError` is thrown ([GH 14189](https://github.com/pandas-dev/pandas/issues/14189))
* `pandas.api.types.is_datetime64_ns_dtype` will now report `True` on a tz-aware dtype, similar to `pandas.api.types.is_datetime64_any_dtype`
* `DataFrame.asof()` will return ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
72e98cec-1669-5b68-ba2c-ab33034901a4 | changelog | pandas | pandas_whatsnew | 0.20.1 | 65 | * `SparseDataFrame.default_fill_value` will be 0, previously was `nan` in the return from `pd.get_dummies(..., sparse=True)` ([GH 15594](https://github.com/pandas-dev/pandas/issues/15594))
* The default behaviour of `Series.str.match` has changed from extracting
groups to matching the pattern. The extracting behaviou... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
1f21c39a-7301-5f14-adb5-79d1082746a6 | changelog | pandas | pandas_whatsnew | 0.20.1 | 66 | methods ([GH 15830](https://github.com/pandas-dev/pandas/issues/15830))
* `DataFrame` and `Panel` constructors with invalid input will now raise `ValueError` rather than `PandasError`, if called with scalar inputs and not axes ([GH 15541](https://github.com/pandas-dev/pandas/issues/15541))
* `DataFrame` and `Panel` c... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
ee6f88a5-f9ba-514e-a55b-69f6d2573b6f | changelog | pandas | pandas_whatsnew | 0.20.1 | 67 | ### Modules privacy has changed[#](#modules-privacy-has-changed "Link to this heading")
Some formerly public python/c/c++/cython extension modules have been moved and/or renamed. These are all removed from the public API.
Furthermore, the `pandas.core`, `pandas.compat`, and `pandas.util` top-level modules are now cons... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
bade368c-e734-5bf2-afd6-9f125c689dcd | changelog | pandas | pandas_whatsnew | 0.20.1 | 68 | | pandas.formats | pandas.io.formats | |
| pandas.sparse | pandas.core.sparse | |
| pandas.tools | pandas.core.reshape | X |
| pandas.types | pandas.core.dtypes | X |
| pandas.io.sas.saslib | pandas.io.sas.\_sas | |
| pandas.\_join | pandas.\_libs.join | |
| pandas.\_hash | pandas.\_libs.hashing | |
| pandas.\_per... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
5a1e5152-b14b-5132-9368-f37012ef68f4 | changelog | pandas | pandas_whatsnew | 0.20.1 | 69 | * The function [`union_categoricals()`](../reference/api/pandas.api.types.union_categoricals.html#pandas.api.types.union_categoricals "pandas.api.types.union_categoricals") is now importable from `pandas.api.types`, formerly from `pandas.types.concat` ([GH 15998](https://github.com/pandas-dev/pandas/issues/15998))
* Th... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
cbe7df8a-8dec-51e7-b7c3-522c27035a87 | changelog | pandas | pandas_whatsnew | 0.20.1 | 70 | ### `pandas.errors`[#](#pandas-errors "Link to this heading")
We are adding a standard public module for all pandas exceptions & warnings `pandas.errors`. ([GH 14800](https://github.com/pandas-dev/pandas/issues/14800)). Previously
these exceptions & warnings could be imported from `pandas.core.common` or `pandas.io.co... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
3613f061-2c4b-51d7-998b-1655c9fa21d7 | changelog | pandas | pandas_whatsnew | 0.20.1 | 71 | The following testing functions are now part of this API:
* [`testing.assert_frame_equal()`](../reference/api/pandas.testing.assert_frame_equal.html#pandas.testing.assert_frame_equal "pandas.testing.assert_frame_equal")
* [`testing.assert_series_equal()`](../reference/api/pandas.testing.assert_series_equal.html#pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
0c221e02-ded9-5934-9e0b-16a28386e5c8 | changelog | pandas | pandas_whatsnew | 0.20.1 | 72 | ### Other development changes[#](#other-development-changes "Link to this heading")
* Building pandas for development now requires `cython >= 0.23` ([GH 14831](https://github.com/pandas-dev/pandas/issues/14831))
* Require at least 0.23 version of cython to avoid problems with character encodings ([GH 14699](https://gi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
dae6329d-0064-5044-96de-2a974c43a41d | changelog | pandas | pandas_whatsnew | 0.20.1 | 73 | The `.ix` indexer is deprecated, in favor of the more strict `.iloc` and `.loc` indexers. `.ix` offers a lot of magic on the inference of what the user wants to do. More specifically, `.ix` can decide to index *positionally* OR via *labels*, depending on the data type of the index. This has caused quite a bit of user c... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
9b2a7b45-c949-54bc-bb84-4b46df3c9d3c | changelog | pandas | pandas_whatsnew | 0.20.1 | 74 | a 1 4
b 2 5
c 3 6
[3 rows x 2 columns]
```
Previous behavior, where you wish to get the 0th and the 2nd elements from the index in the ‘A’ column.
```None
In [3]: df.ix[[0, 2], 'A']
Out[3]:
a 1
c 3
Name: A, dtype: int64
```
Using `.loc`. Here we will select the appropriate indexes from the index, then u... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
12f1e3ab-5f99-5e88-8da4-d35314242ee0 | changelog | pandas | pandas_whatsnew | 0.20.1 | 75 | provides a `to_xarray()` method to automate this conversion ([GH 13563](https://github.com/pandas-dev/pandas/issues/13563)).
```None
In [133]: import pandas._testing as tm
In [134]: p = tm.makePanel()
In [135]: p
Out[135]:
<class 'pandas.core.panel.Panel'>
Dimensions: 3 (items) x 3 (major_axis) x 4 (minor_axis)
Item... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
44821fe5-1188-5806-a932-534867c8a99d | changelog | pandas | pandas_whatsnew | 0.20.1 | 76 | B -0.550603 -0.014752 -0.431550
C 0.139683 -1.195524 0.288377
D 0.122273 -1.425795 -0.619993
[12 rows x 3 columns]
```
Convert to an xarray DataArray
```None
In [137]: p.to_xarray()
Out[137]:
<xarray.DataArray (items: 3, major_axis: 3, minor_axis: 4)>
array([[[ 0.62877... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
8c804d74-1379-5361-bf67-d8545cc906a2 | changelog | pandas | pandas_whatsnew | 0.20.1 | 77 | ### Deprecate groupby.agg() with a dictionary when renaming[#](#deprecate-groupby-agg-with-a-dictionary-when-renaming "Link to this heading")
The `.groupby(..).agg(..)`, `.rolling(..).agg(..)`, and `.resample(..).agg(..)` syntax can accept a variable of inputs, including scalars,
list, and a dict of column names to sc... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
9b7062c0-96ee-5519-bacb-14e9df067482 | changelog | pandas | pandas_whatsnew | 0.20.1 | 78 | * We are deprecating passing a dict-of-dicts to a grouped/rolled/resampled `DataFrame` in a similar manner.
This is an illustrative example:
```None
In [108]: df = pd.DataFrame({'A': [1, 1, 1, 2, 2],
.....: 'B': range(5),
.....: 'C': range(5)})
.....:
In [109]: df
Out[... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
1f47eed9-24a0-5692-ae54-fa8df654d602 | changelog | pandas | pandas_whatsnew | 0.20.1 | 79 | In [6]: df.groupby('A').B.agg({'foo': 'count'})
FutureWarning: using a dict on a Series for aggregation
is deprecated and will be removed in a future version
Out[6]:
foo
A
1 3
2 2
```
You can accomplish the same operation, more idiomatically by:
```None
In [111]: df.groupby('A').B.agg(['count']).rename(colu... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
6213bcd4-4d9a-5b65-bfd4-9d7e7c1e1725 | changelog | pandas | pandas_whatsnew | 0.20.1 | 80 | [2 rows x 2 columns]
```
### Deprecate .plotting[#](#deprecate-plotting "Link to this heading")
The `pandas.tools.plotting` module has been deprecated, in favor of the top level `pandas.plotting` module. All the public plotting functions are now available
from `pandas.plotting` ([GH 12548](https://github.com/pandas-d... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
d595d8d2-4e29-5ea0-bb43-bee07295adce | changelog | pandas | pandas_whatsnew | 0.20.1 | 81 | * `SparseSeries.to_dense()` has deprecated the `sparse_only` parameter ([GH 14647](https://github.com/pandas-dev/pandas/issues/14647))
* `Series.repeat()` has deprecated the `reps` parameter in favor of `repeats` ([GH 12662](https://github.com/pandas-dev/pandas/issues/12662))
* The `Series` constructor and `.astype` me... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
0a2e35d8-5e0a-5deb-aad5-21a3b2f82e78 | changelog | pandas | pandas_whatsnew | 0.20.1 | 82 | * `TimedeltaIndex.searchsorted()`, `DatetimeIndex.searchsorted()`, and `PeriodIndex.searchsorted()` have deprecated the `key` parameter in favor of `value` ([GH 12662](https://github.com/pandas-dev/pandas/issues/12662))
* `DataFrame.astype()` has deprecated the `raise_on_error` parameter in favor of `errors` ([GH 14878... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
cf8acbb9-143e-5c82-822e-6af462df3834 | changelog | pandas | pandas_whatsnew | 0.20.1 | 83 | * The `as_indexer` keyword of `Series.str.match()` has been deprecated (ignored keyword) ([GH 15257](https://github.com/pandas-dev/pandas/issues/15257)).
* The following top-level pandas functions have been deprecated and will be removed in a future version ([GH 13790](https://github.com/pandas-dev/pandas/issues/13790)... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
3003d090-00bf-5547-808e-7ab365dd3158 | changelog | pandas | pandas_whatsnew | 0.20.1 | 84 | ## Removal of prior version deprecations/changes[#](#removal-of-prior-version-deprecations-changes "Link to this heading")
* The `pandas.rpy` module is removed. Similar functionality can be accessed
through the [rpy2](https://rpy2.readthedocs.io/) project.
See the [R interfacing docs](https://pandas.pydata.org/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
6eb63e0b-ae2b-5e5f-b23e-0896e53592a9 | changelog | pandas | pandas_whatsnew | 0.20.1 | 85 | * `pandas.stats.fama_macbeth`, `pandas.stats.ols`, `pandas.stats.plm` and `pandas.stats.var`, as well as the top-level `pandas.fama_macbeth` and `pandas.ols` routines are removed. Similar functionality can be found in the [statsmodels](https://www.statsmodels.org/dev/) package. ([GH 11898](https://github.com/pandas-dev... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
bc82cc19-328c-5814-99b9-7f52ce79a314 | changelog | pandas | pandas_whatsnew | 0.20.1 | 86 | * The deprecated `DataFrame.iterkv()` has been removed in favor of `DataFrame.iteritems()` ([GH 10711](https://github.com/pandas-dev/pandas/issues/10711))
* The `Categorical` constructor has dropped the `name` parameter ([GH 10632](https://github.com/pandas-dev/pandas/issues/10632))
* `Categorical` has dropped support ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
56b45573-7b40-57c3-a9a4-ac7c34ab871a | changelog | pandas | pandas_whatsnew | 0.20.1 | 87 | * Where clauses in `pytables` are only accepted as strings and expressions types and not other data-types ([GH 12027](https://github.com/pandas-dev/pandas/issues/12027))
* `DataFrame` has dropped the `combineAdd` and `combineMult` methods in favor of `add` and `mul` respectively ([GH 10735](https://github.com/pandas-de... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
8bc54369-6307-57fa-916c-28c3fa0b99bc | changelog | pandas | pandas_whatsnew | 0.20.1 | 88 | * Improved performance of `groupby().cummin()` and `groupby().cummax()` ([GH 15048](https://github.com/pandas-dev/pandas/issues/15048), [GH 15109](https://github.com/pandas-dev/pandas/issues/15109), [GH 15561](https://github.com/pandas-dev/pandas/issues/15561), [GH 15635](https://github.com/pandas-dev/pandas/issues/156... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
85160ae1-ccde-5285-b1c6-1eee8c569bdf | changelog | pandas | pandas_whatsnew | 0.20.1 | 89 | * Improved performance of `drop_duplicates()` on `bool` columns ([GH 12963](https://github.com/pandas-dev/pandas/issues/12963))
* Improve performance of `pd.core.groupby.GroupBy.apply` when the applied
function used the `.name` attribute of the group DataFrame ([GH 15062](https://github.com/pandas-dev/pandas/issues/1... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
da03d086-a5ae-5ac5-8816-3606546f7254 | changelog | pandas | pandas_whatsnew | 0.20.1 | 90 | * Bug in `Timestamp.replace` now raises `TypeError` when incorrect argument names are given; previously this raised `ValueError` ([GH 15240](https://github.com/pandas-dev/pandas/issues/15240))
* Bug in `Timestamp.replace` with compat for passing long integers ([GH 15030](https://github.com/pandas-dev/pandas/issues/1503... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
22068a69-4384-5b81-9c15-dfae4ed405be | changelog | pandas | pandas_whatsnew | 0.20.1 | 91 | * Bug in `TimedeltaIndex` raising a `ValueError` when boolean indexing with `loc` ([GH 14946](https://github.com/pandas-dev/pandas/issues/14946))
* Bug in catching an overflow in `Timestamp` + `Timedelta/Offset` operations ([GH 15126](https://github.com/pandas-dev/pandas/issues/15126))
* Bug in `DatetimeIndex.round()` ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
5484c318-fc2a-50e2-bffe-4a8699039fea | changelog | pandas | pandas_whatsnew | 0.20.1 | 92 | * Bug in `describe()` when passing a numpy array which does not contain the median to the `percentiles` keyword argument ([GH 14908](https://github.com/pandas-dev/pandas/issues/14908))
* Cleaned up `PeriodIndex` constructor, including raising on floats more consistently ([GH 13277](https://github.com/pandas-dev/pandas/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
f8fa2ae9-96f6-5313-8bd9-7ca7612ee070 | changelog | pandas | pandas_whatsnew | 0.20.1 | 93 | * Bug in `Index` construction with `NaN` elements and integer dtype specified ([GH 15187](https://github.com/pandas-dev/pandas/issues/15187))
* Bug in `Series` construction with a datetimetz ([GH 14928](https://github.com/pandas-dev/pandas/issues/14928))
* Bug in `Series.dt.round()` inconsistent behaviour on `NaT` ‘s w... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
e703d157-e378-5630-b862-72a31967b182 | changelog | pandas | pandas_whatsnew | 0.20.1 | 94 | * Bug in `DataFrame.fillna()` where the argument `downcast` was ignored when fillna value was of type `dict` ([GH 15277](https://github.com/pandas-dev/pandas/issues/15277))
* Bug in `.asfreq()`, where frequency was not set for empty `Series` ([GH 14320](https://github.com/pandas-dev/pandas/issues/14320))
* Bug in `Data... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
39a3371b-d46e-590a-b295-8ec394bdf8db | changelog | pandas | pandas_whatsnew | 0.20.1 | 95 | * Bug in `Index.to_series()` where the index was not copied (and so mutating later would change the original), ([GH 15949](https://github.com/pandas-dev/pandas/issues/15949))
* Bug in indexing with partial string indexing with a len-1 DataFrame ([GH 16071](https://github.com/pandas-dev/pandas/issues/16071))
* Bug in `S... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
d14dab96-2052-5011-add5-3ee06d255230 | changelog | pandas | pandas_whatsnew | 0.20.1 | 96 | * Bug in `DataFrame.loc` with indexing a `MultiIndex` with a `Series` indexer ([GH 14730](https://github.com/pandas-dev/pandas/issues/14730), [GH 15424](https://github.com/pandas-dev/pandas/issues/15424))
* Bug in `DataFrame.loc` with indexing a `MultiIndex` with a numpy array ([GH 15434](https://github.com/pandas-dev/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
4a040e43-b30a-5e73-a5e9-4996eeb53054 | changelog | pandas | pandas_whatsnew | 0.20.1 | 97 | * Bug in `.loc` that would not return the correct dtype for scalar access for a DataFrame ([GH 11617](https://github.com/pandas-dev/pandas/issues/11617))
* Bug in output formatting of a `MultiIndex` when names are integers ([GH 12223](https://github.com/pandas-dev/pandas/issues/12223), [GH 15262](https://github.com/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
4e813e33-a143-5e36-b009-4356712358e5 | changelog | pandas | pandas_whatsnew | 0.20.1 | 98 | * Bug in `.reset_index()` when raising error for index name already present in `MultiIndex` columns ([GH 16120](https://github.com/pandas-dev/pandas/issues/16120))
* Bug in creating a `MultiIndex` with tuples and not passing a list of names; this will now raise `ValueError` ([GH 15110](https://github.com/pandas-dev/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
1a9bb963-2a20-5198-8f66-d76cbc753b24 | changelog | pandas | pandas_whatsnew | 0.20.1 | 99 | * Bug in `DataFrame.sort_index()` and `Series.sort_index()` where `na_position` doesn’t work with a `MultiIndex` ([GH 14784](https://github.com/pandas-dev/pandas/issues/14784), [GH 16604](https://github.com/pandas-dev/pandas/issues/16604))
* Bug in `pd.concat()` when combining objects with a `CategoricalIndex` ([GH 161... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
aa694144-e1ba-5ca2-a464-f916be93e649 | changelog | pandas | pandas_whatsnew | 0.20.1 | 100 | * Bug in `pd.read_csv()` in which the `dialect` parameter was not being verified before processing ([GH 14898](https://github.com/pandas-dev/pandas/issues/14898))
* Bug in `pd.read_csv()` in which missing data was being improperly handled with `usecols` ([GH 6710](https://github.com/pandas-dev/pandas/issues/6710))
* Bu... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
d5b07938-1edf-5e48-88e8-1d1ec3bdb2bc | changelog | pandas | pandas_whatsnew | 0.20.1 | 101 | * Bug in `pd.read_csv()` when an index was specified and no values were specified as null values ([GH 15835](https://github.com/pandas-dev/pandas/issues/15835))
* Bug in `pd.read_csv()` in which certain invalid file objects caused the Python interpreter to crash ([GH 15337](https://github.com/pandas-dev/pandas/issues/1... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
6f3ff9c4-c086-5915-a63f-5b4157e8c827 | changelog | pandas | pandas_whatsnew | 0.20.1 | 102 | * Bug in `pd.util.hashing.hash_pandas_object()` in which hashing of categoricals depended on the ordering of categories, instead of just their values. ([GH 15143](https://github.com/pandas-dev/pandas/issues/15143))
* Bug in `.to_json()` where `lines=True` and contents (keys or values) contain escaped characters ([GH 15... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
24a53908-2a05-5f52-84a4-16edfebf02a9 | changelog | pandas | pandas_whatsnew | 0.20.1 | 103 | * Bug in `pd.read_msgpack()` in which `Series` categoricals were being improperly processed ([GH 14901](https://github.com/pandas-dev/pandas/issues/14901))
* Bug in `pd.read_msgpack()` which did not allow loading of a dataframe with an index of type `CategoricalIndex` ([GH 15487](https://github.com/pandas-dev/pandas/is... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
510f6460-ebd4-5544-93d9-999a61db4946 | changelog | pandas | pandas_whatsnew | 0.20.1 | 104 | * Bug in `DataFrame.to_html()` with `index=False` and `max_rows` raising in `IndexError` ([GH 14998](https://github.com/pandas-dev/pandas/issues/14998))
* Bug in `pd.read_hdf()` passing a `Timestamp` to the `where` parameter with a non date column ([GH 15492](https://github.com/pandas-dev/pandas/issues/15492))
* Bug in... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
62094c11-870c-501a-be95-2b5cc3c53c13 | changelog | pandas | pandas_whatsnew | 0.20.1 | 105 | * Bug in `DataFrame.boxplot` where `fontsize` was not applied to the tick labels on both axes ([GH 15108](https://github.com/pandas-dev/pandas/issues/15108))
* Bug in the date and time converters pandas registers with matplotlib not handling multiple dimensions ([GH 16026](https://github.com/pandas-dev/pandas/issues/16... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
76242301-1b92-5ef8-81f7-6cd8caa464d4 | changelog | pandas | pandas_whatsnew | 0.20.1 | 106 | * Bug in `.groupby(...).rolling(...)` when `on` is specified and using a `DatetimeIndex` ([GH 15130](https://github.com/pandas-dev/pandas/issues/15130), [GH 13966](https://github.com/pandas-dev/pandas/issues/13966))
* Bug in groupby operations with `timedelta64` when passing `numeric_only=False` ([GH 5724](https://gith... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
1e8d1993-68cd-5dac-bcb3-d644e09a9eea | changelog | pandas | pandas_whatsnew | 0.20.1 | 107 | * Bug in `groupby().nunique()` with a datetimelike-grouper where bins counts were incorrect ([GH 13453](https://github.com/pandas-dev/pandas/issues/13453))
* Bug in `groupby.transform()` that would coerce the resultant dtypes back to the original ([GH 10972](https://github.com/pandas-dev/pandas/issues/10972), [GH 11444... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
82bd133a-77ce-56a9-b501-53141e5d5cc5 | changelog | pandas | pandas_whatsnew | 0.20.1 | 108 | * Bug in `Rolling.quantile` function that caused a segmentation fault when called with a quantile value outside of the range [0, 1] ([GH 15463](https://github.com/pandas-dev/pandas/issues/15463))
* Bug in `DataFrame.resample().median()` if duplicate column names are present ([GH 14233](https://github.com/pandas-dev/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
4189cc31-9db8-5525-8ec3-f97a876772aa | changelog | pandas | pandas_whatsnew | 0.20.1 | 109 | ### Reshaping[#](#reshaping "Link to this heading")
* Bug in `pd.merge_asof()` where `left_index` or `right_index` caused a failure when multiple `by` was specified ([GH 15676](https://github.com/pandas-dev/pandas/issues/15676))
* Bug in `pd.merge_asof()` where `left_index`/`right_index` together caused a failure when... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
74fee8ad-09ca-54e3-a21b-ee4e5272b79c | changelog | pandas | pandas_whatsnew | 0.20.1 | 110 | * Bug in `pd.concat()` in which concatenating with an empty dataframe with `join='inner'` was being improperly handled ([GH 15328](https://github.com/pandas-dev/pandas/issues/15328))
* Bug with `sort=True` in `DataFrame.join` and `pd.merge` when joining on indexes ([GH 15582](https://github.com/pandas-dev/pandas/issues... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
49437713-b1ca-50b5-bc89-dc954f7b6521 | changelog | pandas | pandas_whatsnew | 0.20.1 | 111 | * Bug in `.corr()` and `.cov()` where the column and index were the same object ([GH 14617](https://github.com/pandas-dev/pandas/issues/14617))
* Bug in `.mode()` where `mode` was not returned if was only a single value ([GH 15714](https://github.com/pandas-dev/pandas/issues/15714))
* Bug in `pd.cut()` with a single bi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
5f408d97-e80c-5b4a-83e0-50ba4a7da00a | changelog | pandas | pandas_whatsnew | 0.20.1 | 112 | ### Other[#](#other "Link to this heading")
* Compat with SciPy 0.19.0 for testing on `.interpolate()` ([GH 15662](https://github.com/pandas-dev/pandas/issues/15662))
* Compat for 32-bit platforms for `.qcut/cut`; bins will now be `int64` dtype ([GH 14866](https://github.com/pandas-dev/pandas/issues/14866))
* Bug in i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
3386ff48-ca5e-522f-a7ce-41db845e7b8d | changelog | pandas | pandas_whatsnew | 0.20.1 | 113 | * Ashish Singal +
* Baurzhan Muftakhidinov +
* Ben Kandel
* Ben Thayer +
* Ben Welsh +
* Bill Chambers +
* Brandon M. Burroughs
* Brian +
* Brian McFee +
* Carlos Souza +
* Chris
* Chris Ham
* Chris Warth
* Christoph Gohlke
* Christoph Paulik +
* Christopher C. Aycock
* Clemens Brunner +
* D.S. McNeil +
* DaanVanHauwer... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
2830337a-542b-5da8-a01c-e2ab20c603e6 | changelog | pandas | pandas_whatsnew | 0.20.1 | 114 | * Joel Nothman +
* John +
* John Tucker +
* John W. O’Brien
* John Zwinck
* Jon M. Mease
* Jon Mease
* Jonathan Whitmore +
* Jonathan de Bruin +
* Joost Kranendonk +
* Joris Van den Bossche
* Joshua Bradt +
* Julian Santander
* Julien Marrec +
* Jun Kim +
* Justin Solinsky +
* Kacawi +
* Kamal Kamalaldin +
* Kerby Shed... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
36c99cb0-ff8b-566b-aa6d-1477118cffc0 | changelog | pandas | pandas_whatsnew | 0.20.1 | 115 | * Robert Bradshaw
* Robin +
* Rodolfo Fernandez
* Roger Thomas
* Rouz Azari +
* Sahil Dua
* Sam Foo +
* Sami Salonen +
* Sarah Bird +
* Sarma Tangirala +
* Scott Sanderson
* Sebastian Bank
* Sebastian Gsänger +
* Shawn Heide
* Shyam Saladi +
* Sinhrks
* Stephen Rauch +
* Sébastien de Menten +
* Tara Adiseshan
* Thiago ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
d9d59c86-e2da-55dd-b968-23a9552e02c3 | changelog | pandas | pandas_whatsnew | 0.20.1 | 116 | * tzinckgraf
* wandersoncferreira
* watercrossing +
* wcwagner
* xgdgsc +
* yui-knk
| large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md |
25540dd5-0a6f-5758-ae19-3e2c1b451f86 | changelog | pandas | pandas_whatsnew | 0.20.2 | 0 | # What's new in pandas 0.20.2
Source: https://pandas.pydata.org/docs/whatsnew/v0.20.2.html
# Version 0.20.2 (June 4, 2017)[#](#version-0-20-2-june-4-2017 "Link to this heading")
This is a minor bug-fix release in the 0.20.x series and includes some small regression fixes,
bug fixes and performance improvements.
We r... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.2.md |
790604ad-3f50-5e40-bb34-cd251a3f1e5d | changelog | pandas | pandas_whatsnew | 0.20.2 | 1 | ## Enhancements[#](#enhancements "Link to this heading")
* Unblocked access to additional compression types supported in pytables: ‘blosc:blosclz, ‘blosc:lz4’, ‘blosc:lz4hc’, ‘blosc:snappy’, ‘blosc:zlib’, ‘blosc:zstd’ ([GH 14478](https://github.com/pandas-dev/pandas/issues/14478))
* `Series` provides a `to_latex` meth... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.2.md |
3e30e4fb-8575-54e4-a3da-aa413d8e2a61 | changelog | pandas | pandas_whatsnew | 0.20.2 | 2 | * Improved performance of `.clip()` with scalar arguments ([GH 15400](https://github.com/pandas-dev/pandas/issues/15400))
* Improved performance of groupby with categorical groupers ([GH 16413](https://github.com/pandas-dev/pandas/issues/16413))
* Improved performance of `MultiIndex.remove_unused_levels()` ([GH 16556](... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.2.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.