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 |
|---|---|---|---|---|---|---|---|
fbbf3d3d-9ae9-54ec-be63-0491cc8d450e | changelog | numpy | numpy | 240 | 16 | array([list([1, 2]), list([3, 4])], dtype=object)
>>> b.shape
(2,)
```
([gh-29569](https://github.com/numpy/numpy/pull/29569))
### Warning emitted when using `where` without `out`[#](#warning-emitted-when-using-where-without-out "Link to this heading")
Ufuncs called with a `where` mask and without an `out` positiona... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
1925ae5a-f926-5d80-aae5-de94ed052c2a | changelog | numpy | numpy | 240 | 17 | The sorting and argsorting methods are registered by passing the arraymethod
specs that implement the operations to the new `PyUFunc_AddLoopsFromSpecs`
function. See the `ArrayMethod` API documentation for details.
([gh-29900](https://github.com/numpy/numpy/pull/29900))
### New `__numpy_dtype__` protocol[#](#new-nump... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
380321b7-1412-595f-a447-55a5e187afa5 | changelog | numpy | numpy | 240 | 18 | ## Improvements[#](#improvements "Link to this heading")
### Fix `flatiter` indexing edge cases[#](#fix-flatiter-indexing-edge-cases "Link to this heading")
The `flatiter` object now shares the same index preparation logic as
`ndarray`, ensuring consistent behavior and fixing several issues where
invalid indices were... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
2a98c087-6f6e-53cb-8c7e-de8c59d1749f | changelog | numpy | numpy | 240 | 19 | + 0-dimensional boolean indices like `arr.flat[True]` are also
deprecated and will be removed in a future version.
* Consistent error types:
Certain invalid `flatiter` indices that previously raised `ValueError`
now correctly raise `IndexError`, aligning with `ndarray` behavior.
* Improved error messages:
... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
36fc656b-db8a-5c35-9598-f40f7e3b02fc | changelog | numpy | numpy | 240 | 20 | ### Improved error message for `assert_array_compare`[#](#improved-error-message-for-assert-array-compare "Link to this heading")
The error message generated by `assert_array_compare` which is used by functions
like `assert_allclose`, `assert_array_less` etc. now also includes information
about the indices at which th... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
ffbc08af-2e60-50da-a9f6-12e613b9c785 | changelog | numpy | numpy | 240 | 21 | ufuncs that take only one input (like `np.sin(scalar)`), reducing the speed
difference from their `math` equivalents from a factor 19 to 3 (the speed
for arrays is left unchanged).
([gh-29819](https://github.com/numpy/numpy/pull/29819))
### `numpy.finfo` Refactor[#](#numpy-finfo-refactor "Link to this heading")
The ... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
93fa25eb-1f27-5c02-8e27-99220cbae912 | changelog | numpy | numpy | 240 | 22 | all exponent patterns; `nmant` excludes the implicit bit; and `minexp`
follows the C standard definition.
* longdouble constants, Specifically `smallest_normal` now follows the
C standard definitions as per respecitive platform.
* Special handling added for PowerPC’s IBM double-double format.
* New test suite add... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
20fd0814-4333-5352-a3b6-69de17917dda | changelog | numpy | numpy | 240 | 23 | ([gh-29947](https://github.com/numpy/numpy/pull/29947))
### Runtime signature introspection support has been significantly improved[#](#runtime-signature-introspection-support-has-been-significantly-improved "Link to this heading")
Many NumPy functions, classes, and methods that previously raised
`ValueError` when pa... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
7672efaa-056c-5454-b83f-a31f3239e735 | changelog | numpy | numpy | 240 | 24 | ([gh-30208](https://github.com/numpy/numpy/pull/30208))
## Performance improvements and changes[#](#performance-improvements-and-changes "Link to this heading")
### Performance improvements to `np.unique` for string dtypes[#](#performance-improvements-to-np-unique-for-string-dtypes "Link to this heading")
The hash-b... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
3a88b058-4ff4-585f-b4fb-817c25b777af | changelog | numpy | numpy | 240 | 25 | ### Rewrite of `np.ndindex` using `itertools.product`[#](#rewrite-of-np-ndindex-using-itertools-product "Link to this heading")
The `numpy.ndindex` function now uses `itertools.product` internally,
providing significant improvements in performance for large iteration spaces,
while maintaining the original behavior and... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
ea748741-32cf-5d6d-8925-eaee1fd4bd29 | changelog | numpy | numpy | 240 | 26 | ([gh-29537](https://github.com/numpy/numpy/pull/29537))
## Changes[#](#changes "Link to this heading")
* Multiplication between a string and integer now raises OverflowError instead
of MemoryError if the result of the multiplication would create a string that
is too large to be represented. This follows Python’s ... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
c60c3890-00ee-5ea2-b704-9e71e24c2b5d | changelog | numpy | numpy | 240 | 27 | the faster hash-based method to obtain unique values.
Note that this hash-based method does not guarantee that the returned unique values will be sorted.
This also works for StringDType arrays containing None (missing values)
when using equal\_nan=True (treating missing values as equal).
([gh-28767](https://github.com... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
08e329ce-71ee-5b31-b976-431ab210e50e | changelog | numpy | numpy | 240 | 28 | * Raised the baseline to `X86_V2`
* Improved `-` operator behavior to properly exclude successor features that
imply the excluded feature
* Added meson redirections for removed feature names to maintain backward
compatibility
* Removed compiler compatibility workarounds for partial feature support (e.g.,
AVX512 w... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
618dfb8f-8258-5c0a-af85-5b02e59c5dc4 | changelog | numpy | numpy | 240 | 29 | * `X86_V2`: x86-64-v2 microarchitectures (CPUs since 2009)
* `X86_V3`: x86-64-v3 microarchitectures (CPUs since 2015)
* `X86_V4`: x86-64-v4 microarchitectures (AVX-512 capable CPUs)
* `AVX512_ICL`: Intel Ice Lake and similar CPUs
* `AVX512_SPR`: Intel Sapphire Rapids and newer CPUs
Note
On 32-bit x86, `cx16` is exclu... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
6b03c1d5-3414-5061-9b56-95708757f2bc | changelog | numpy | numpy | 240 | 30 | ### `__array_interface__` with NULL pointer changed[#](#array-interface-with-null-pointer-changed "Link to this heading")
The array interface now accepts NULL pointers (NumPy will do its own dummy
allocation, though). Previously, these incorrectly triggered an undocumented
scalar path. In the unlikely event that the s... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
360c1ddd-a383-5fb5-b89a-9dfb7eb39362 | changelog | numpy | numpy | 240 | 31 | ([gh-29537](https://github.com/numpy/numpy/pull/29537))
### Sorting `kind='heapsort'` now maps to `kind='quicksort'`[#](#sorting-kind-heapsort-now-maps-to-kind-quicksort "Link to this heading")
It is unlikely that this change will be noticed, but if you do see a change in
execution time or unstable argsort order, tha... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
7b2241ad-efa1-5cd1-921a-99fd5cb155d7 | changelog | numpy | numpy | 240 | 32 | and `setuptools`. Please note that using these static libraries is
discouraged and for existing projects using it, it’s best to use it with a
matching compiler toolchain, which is `clang-cl` on Windows on Arm.
([gh-29750](https://github.com/numpy/numpy/pull/29750))
| large_dataset/raw/changelog/numpy_releases/numpy_240.md |
132df874-f344-53d0-be7c-deb336f07ff0 | changelog | pandas | pandas_whatsnew | 0.13.0 | 0 | # What's new in pandas 0.13.0
Source: https://pandas.pydata.org/docs/whatsnew/v0.13.0.html
# Version 0.13.0 (January 3, 2014)[#](#version-0-13-0-january-3-2014 "Link to this heading")
This is a major release from 0.12.0 and includes a number of API changes, several new features and
enhancements along with a large nu... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
1f72e9ba-61d0-5eb3-8256-933fbee93d44 | changelog | pandas | pandas_whatsnew | 0.13.0 | 1 | * [Comparison with SQL](../getting_started/comparison/comparison_with_sql.html#compare-with-sql), which should be useful for those familiar with SQL but still learning pandas.
* [Comparison with R](../getting_started/comparison/comparison_with_r.html#compare-with-r), idiom translations from R to pandas.
* [Enhancing Pe... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
0023c271-8d5e-585b-9feb-ec66e2b8c271 | changelog | pandas | pandas_whatsnew | 0.13.0 | 2 | * Text parser now treats anything that reads like inf (“inf”, “Inf”, “-Inf”,
“iNf”, etc.) as infinity. ([GH 4220](https://github.com/pandas-dev/pandas/issues/4220), [GH 4219](https://github.com/pandas-dev/pandas/issues/4219)), affecting
`read_table`, `read_csv`, etc.
* `pandas` now is Python 2/3 compatible without ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
582e3f27-0ca6-533c-9c6c-3dffbead222f | changelog | pandas | pandas_whatsnew | 0.13.0 | 3 | compatibility. `lmap`, `lzip`, `lrange` and `lfilter` all produce
lists instead of iterators, for compatibility with `numpy`, subscripting
and `pandas` constructors.([GH 4384](https://github.com/pandas-dev/pandas/issues/4384), [GH 4375](https://github.com/pandas-dev/pandas/issues/4375), [GH 4372](https://github.c... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
aa8c1315-b2df-5b8c-9b26-4667fbe97c9f | changelog | pandas | pandas_whatsnew | 0.13.0 | 4 | >>> index = pd.index.set_names(["bob", "cranberry"])
# and all methods take an inplace kwarg - but return None
>>> pd.index.set_names(["bob", "cranberry"], inplace=True)
```
* **All** division with `NDFrame` objects is now *truedivision*, regardless
of the future import. This means that operating on pandas o... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
9da35d39-9fb5-5d1d-87eb-4b36c0430370 | changelog | pandas | pandas_whatsnew | 0.13.0 | 5 | * Infer and downcast dtype if `downcast='infer'` is passed to `fillna/ffill/bfill` ([GH 4604](https://github.com/pandas-dev/pandas/issues/4604))
* `__nonzero__` for all NDFrame objects, will now raise a `ValueError`, this reverts back to ([GH 1073](https://github.com/pandas-dev/pandas/issues/1073), [GH 4633](https://gi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
f212f5e3-e02d-51dc-bfd5-5ef556b6bd4b | changelog | pandas | pandas_whatsnew | 0.13.0 | 6 | >>> df1 = df
>>> df2 = df
>>> df1 and df2
Traceback (most recent call last):
...
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty,
a.bool(), a.item(), a.any() or a.all().
>>> d = [1, 2, 3]
>>> s1 = pd.Series(d)
>>> s2 = pd.Series(d)
>>> s1 and s2
Traceback (most recent ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
da7cc81f-4283-5a35-89ea-e7ae240d43bb | changelog | pandas | pandas_whatsnew | 0.13.0 | 7 | support `pow` or `mod` with non-scalars. ([GH 3765](https://github.com/pandas-dev/pandas/issues/3765))
* `Series` and `DataFrame` now have a `mode()` method to calculate the
statistical mode(s) by axis/Series. ([GH 5367](https://github.com/pandas-dev/pandas/issues/5367))
* Chained assignment will now by default war... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
b5851c7a-9f15-5ec2-9a5a-ef27bb61b40b | changelog | pandas | pandas_whatsnew | 0.13.0 | 8 | Here is the correct method of assignment.
```None
In [4]: dfc.loc[0, 'A'] = 11
In [5]: dfc
Out[5]:
A B
0 11 1
1 bbb 2
2 ccc 3
```
* `Panel.reindex` has the following call signature `Panel.reindex(items=None, major_axis=None, minor_axis=None, **kwargs)`
: to conform with other `ND... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
f5731409-eaa4-5394-830b-a21cf3e9d53a | changelog | pandas | pandas_whatsnew | 0.13.0 | 9 | * Remove deprecated `set_printoptions/reset_printoptions` ([GH 3046](https://github.com/pandas-dev/pandas/issues/3046))
* Remove deprecated `_verbose_info` ([GH 3215](https://github.com/pandas-dev/pandas/issues/3215))
* Remove deprecated `read_clipboard/to_clipboard/ExcelFile/ExcelWriter` from `pandas.io.parsers` ([GH ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
fb0d4f69-6608-5e51-b719-397580f961f8 | changelog | pandas | pandas_whatsnew | 0.13.0 | 10 | ## Deprecations[#](#deprecations "Link to this heading")
Deprecated in 0.13.0
* deprecated `iterkv`, which will be removed in a future release (this was
an alias of iteritems used to bypass `2to3`’s changes).
([GH 4384](https://github.com/pandas-dev/pandas/issues/4384), [GH 4375](https://github.com/pandas-dev/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
7061ddbb-1048-52f8-a187-b67b16deb09f | changelog | pandas | pandas_whatsnew | 0.13.0 | 11 | ## Indexing API changes[#](#indexing-api-changes "Link to this heading")
Prior to 0.13, it was impossible to use a label indexer (`.loc/.ix`) to set a value that
was not contained in the index of a particular axis. ([GH 2578](https://github.com/pandas-dev/pandas/issues/2578)). See [the docs](../user_guide/indexing.htm... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
1a56e4cb-4fe6-5bf0-b83c-7f47f2f994f2 | changelog | pandas | pandas_whatsnew | 0.13.0 | 12 | In [15]: dfi
Out[15]:
A B C
0 0 1 0
1 2 3 2
2 4 5 4
3 5 5 5
```
A Panel setting operation on an arbitrary axis aligns the input to the Panel
```None
In [20]: p = pd.Panel(np.arange(16).reshape(2, 4, 2),
....: items=['Item1', 'Item2'],
....: major_axis=pd.date_range('2... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
194fc1df-c9cd-5d66-b873-c6213092d04d | changelog | pandas | pandas_whatsnew | 0.13.0 | 13 | 2001-01-13 30.0 32.0
2001-01-14 30.0 32.0
2001-01-15 30.0 32.0
```
## Float64Index API change[#](#float64index-api-change "Link to this heading")
* Added a new index type, `Float64Index`. This will be automatically created when passing floating values in index creation.
This enables a pure label-based s... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
72cc74fc-d012-506f-aa77-dc9aad333df2 | changelog | pandas | pandas_whatsnew | 0.13.0 | 14 | In [21]: s.loc[3]
Out[21]: 2
```
The only positional indexing is via `iloc`
```None
In [22]: s.iloc[3]
Out[22]: 3
```
A scalar index that is not found will raise `KeyError`
Slicing is ALWAYS on the values of the index, for `[],ix,loc` and ALWAYS positional with `iloc`
```None
In [23]: s[2:4... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
d492e401-125e-5091-bcd0-5c5b93a9d9a0 | changelog | pandas | pandas_whatsnew | 0.13.0 | 15 | TypeError: the label [3.5] is not a proper indexer for this index type (Int64Index)
In [1]: pd.Series(range(5))[3.5:4.5]
TypeError: the slice start [3.5] is not a proper indexer for this index type (Int64Index)
```
Using a scalar float indexer will be deprecated in a future version, but is allowed for now.
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
f2458cac-57bd-5b69-b9f9-39487f8c839b | changelog | pandas | pandas_whatsnew | 0.13.0 | 16 | ....: where="index>Timestamp('20130104') & columns=['A', 'B']")
....:
Out[31]:
A B
2013-01-05 -0.424972 0.567020
2013-01-06 -0.673690 0.113648
2013-01-07 0.404705 0.577046
2013-01-08 -0.370647 -1.157892
2013-01-09 1.075770 -0.109050
2013-01-10 0.3... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
83278d2a-30ac-50a2-8297-9181535fb6ec | changelog | pandas | pandas_whatsnew | 0.13.0 | 17 | the same defaults as prior < 0.13.0 remain, e.g. `put` implies `fixed` format and `append` implies
`table` format. This default format can be set as an option by setting `io.hdf.default_format`.
```None
In [33]: path = 'test.h5'
In [34]: df = pd.DataFrame(np.random.randn(10, 2))
In [35]: df.to_hdf(path, ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
c0ba82ab-0359-5ea5-bc4a-2aa4bdd9d757 | changelog | pandas | pandas_whatsnew | 0.13.0 | 18 | a closed store will now report ‘CLOSED’ when viewing the store (rather than raising an error)
([GH 4409](https://github.com/pandas-dev/pandas/issues/4409))
* a close of a `HDFStore` now will close that instance of the `HDFStore`
but will only close the actual file if the ref count (by `PyTables`) w.r.t. all of th... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
68f4a611-6a0e-528c-ad1f-3d78505257ac | changelog | pandas | pandas_whatsnew | 0.13.0 | 19 | <class 'pandas.io.pytables.HDFStore'>
File path: test.h5
In [47]: store1.close()
In [48]: store2
Out[48]:
<class 'pandas.io.pytables.HDFStore'>
File path: test.h5
In [49]: store2.close()
In [50]: store2
Out[50]:
<class 'pandas.io.pytables.HDFStore'>
File path: test.h5
```
* removed the `... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
9c7d875f-9f77-57f9-8184-39851e37f044 | changelog | pandas | pandas_whatsnew | 0.13.0 | 20 | to the store (default is `True`, ALL nan rows are NOT written), also settable
via the option `io.hdf.dropna_table` ([GH 4625](https://github.com/pandas-dev/pandas/issues/4625))
* pass through store creation arguments; can be used to support in-memory stores
## DataFrame repr changes[#](#dataframe-repr-changes "Lin... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
dd7a8e88-f513-5858-a473-21d7c91231b3 | changelog | pandas | pandas_whatsnew | 0.13.0 | 21 | To get the info view, call [`DataFrame.info()`](../reference/api/pandas.DataFrame.info.html#pandas.DataFrame.info "pandas.DataFrame.info"). If you prefer the
info view as the repr for large DataFrames, you can set this by running
`set_option('display.large_repr', 'info')`.
## Enhancements[#](#enhancements "Link to thi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
215824dd-e6a5-5dd7-894e-9d91d8241743 | changelog | pandas | pandas_whatsnew | 0.13.0 | 22 | * Added a more informative error message when plot arguments contain
overlapping color and style arguments ([GH 4402](https://github.com/pandas-dev/pandas/issues/4402))
* `to_dict` now takes `records` as a possible out type. Returns an array
of column-keyed dictionaries. ([GH 4936](https://github.com/pandas-dev/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
714d1f80-cc93-52e4-b735-3aa315669abe | changelog | pandas | pandas_whatsnew | 0.13.0 | 23 | Most of these operations require `numpy >= 1.7`
Using the new top-level `to_timedelta`, you can convert a scalar or array from the standard
timedelta format (produced by `to_csv`) into a timedelta type (`np.timedelta64` in `nanoseconds`).
```None
In [53]: pd.to_timedelta('1 days 06:05:01.00003')
Out[53]: ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
210764f9-1532-5444-84d5-d931ec7bf6ab | changelog | pandas | pandas_whatsnew | 0.13.0 | 24 | Out[57]: TimedeltaIndex(['0 days', '1 days', '2 days', '3 days', '4 days'], dtype='timedelta64[ns]', freq=None)
```
A Series of dtype `timedelta64[ns]` can now be divided by another
`timedelta64[ns]` object, or astyped to yield a `float64` dtyped Series. This
is frequency conversion. See [the docs](../user_g... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
82b360e7-be32-537d-991d-97b8d4bf8d5f | changelog | pandas | pandas_whatsnew | 0.13.0 | 25 | Out[64]:
0 31.0
1 31.0
2 31.0
3 NaN
dtype: float64
# to seconds
In [65]: td / np.timedelta64(1, 's')
Out[65]:
0 2678400.0
1 2678400.0
2 2678703.0
3 NaN
dtype: float64
In [66]: td.astype('timedelta64[s]')
Out[66]:
0 2678400.0
1 2678400.0
2 2... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
2659cafe-8a29-5923-95ea-7ea3b48bf0a6 | changelog | pandas | pandas_whatsnew | 0.13.0 | 26 | 1 31 days 00:05:00.005000
2 31 days 00:10:03.005000
3 NaT
dtype: timedelta64[ns]
```
Fillna is now supported for timedeltas
```None
In [67]: td.fillna(pd.Timedelta(0))
Out[67]:
0 31 days 00:00:00
1 31 days 00:00:00
2 31 days 00:05:03
3 0 days 00:00:00
dt... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
88c905e7-dd12-503d-b85c-4a20fb2c3fbe | changelog | pandas | pandas_whatsnew | 0.13.0 | 27 | is evaluated, respectively. See scipy docs. ([GH 4298](https://github.com/pandas-dev/pandas/issues/4298))
* DataFrame constructor now accepts a numpy masked record array ([GH 3478](https://github.com/pandas-dev/pandas/issues/3478))
* The new vectorized string method `extract` return regular expression
matches more ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
b050867e-a425-5b6a-974e-390e17e217e5 | changelog | pandas | pandas_whatsnew | 0.13.0 | 28 | without necessitating `get()` to access tuples or `re.match` objects.
Named groups like
```None
In [73]: pd.Series(['a1', 'b2', 'c3']).str.extract(
....: '(?P<letter>[ab])(?P<digit>\\d)')
....:
Out[73]:
letter digit
0 a 1
1 b 2
2 NaN NaN
```
and optional... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
00ffc5f9-0310-5cd3-b790-a32a175cb1e3 | changelog | pandas | pandas_whatsnew | 0.13.0 | 29 |
Period conversions in the range of seconds and below were reworked and extended
up to nanoseconds. Periods in the nanosecond range are now available.
```None
In [79]: pd.date_range('2013-01-01', periods=5, freq='5N')
Out[79]:
DatetimeIndex([ '2013-01-01 00:00:00',
'2013-01-01 00:... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
6d153186-e8da-5a1b-bf7c-c99443e68a07 | changelog | pandas | pandas_whatsnew | 0.13.0 | 30 | Timestamps can be modified in the nanosecond range
```None
In [76]: t = pd.Timestamp('20130101 09:01:02')
In [77]: t + pd.tseries.offsets.Nano(123)
Out[77]: Timestamp('2013-01-01 09:01:02.000000123')
```
* A new method, `isin` for DataFrames, which plays nicely with boolean indexing. The argument to `isin... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
38fe8b84-db3c-521c-92fd-c15e9612c6e0 | changelog | pandas | pandas_whatsnew | 0.13.0 | 31 | 2 3 f
```
* `Series` now supports a `to_frame` method to convert it to a single-column DataFrame ([GH 5164](https://github.com/pandas-dev/pandas/issues/5164))
* All R datasets listed here <http://stat.ethz.ch/R-manual/R-devel/library/datasets/html/00Index.html> can now be loaded into pandas objects
```None
#... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
e14b46f7-d5dd-5051-aadc-9109c8da8374 | changelog | pandas | pandas_whatsnew | 0.13.0 | 32 | * Added PySide support for the qtpandas DataFrameModel and DataFrameWidget.
* Python csv parser now supports usecols ([GH 4335](https://github.com/pandas-dev/pandas/issues/4335))
* Frequencies gained several new offsets:
+ `LastWeekOfMonth` ([GH 4637](https://github.com/pandas-dev/pandas/issues/4637))
+ `FY5253`, ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
f53df95f-e6b4-5fec-9a40-346205b8ad7d | changelog | pandas | pandas_whatsnew | 0.13.0 | 33 | to include `'nearest', 'zero', 'slinear', 'quadratic', 'cubic',
'barycentric', 'krogh', 'piecewise_polynomial', 'pchip', 'polynomial', 'spline'`
The new methods require [scipy](http://www.scipy.org). Consult the Scipy reference [guide](https://docs.scipy.org/doc/scipy/tutorial/interpolate.html) and [documentation... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
8cc314b2-3a55-5f10-b045-8345e9a9ab94 | changelog | pandas | pandas_whatsnew | 0.13.0 | 34 | In [88]: np.random.seed(123)
In [89]: df = pd.DataFrame({"A1970" : {0 : "a", 1 : "b", 2 : "c"},
....: "A1980" : {0 : "d", 1 : "e", 2 : "f"},
....: "B1970" : {0 : 2.5, 1 : 1.2, 2 : .7},
....: "B1980" : {0 : 3.2, 1 : 1.3, 2 : .1},
....: ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
4578a5a9-fc40-52fd-bfd2-7ae96279874b | changelog | pandas | pandas_whatsnew | 0.13.0 | 35 | * `to_csv` now takes a `date_format` keyword argument that specifies how
output datetime objects should be formatted. Datetimes encountered in the
index, columns, and values will all have this formatting applied. ([GH 4313](https://github.com/pandas-dev/pandas/issues/4313))
* `DataFrame.plot` will scatter plot x ve... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
e22a71f3-c8b7-57a2-82b7-9ec1863047c9 | changelog | pandas | pandas_whatsnew | 0.13.0 | 36 | ....: for _ in range(4)]
....:
```
```None
# eval with NumExpr backend
In [95]: %timeit pd.eval('df1 + df2 + df3 + df4')
7.71 ms +- 273 us per loop (mean +- std. dev. of 7 runs, 100 loops each)
```
```None
# pure Python evaluation
In [96]: %timeit df1 + df2 + df3 + df... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
4e079c57-c8fd-5799-ab08-0c4d5e7a5c53 | changelog | pandas | pandas_whatsnew | 0.13.0 | 37 | dtype: float64
```
* [`query()`](../reference/api/pandas.DataFrame.query.html#pandas.DataFrame.query "pandas.DataFrame.query") method has been added that allows
you to select elements of a `DataFrame` using a natural query syntax
nearly identical to Python syntax. For example,
```None
In [99]: n = 20
In... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
5a171ad0-4838-5641-a94b-e2986940321e | changelog | pandas | pandas_whatsnew | 0.13.0 | 38 | df = pd.DataFrame(np.random.rand(5, 2), columns=list('AB'))
df.to_msgpack('foo.msg')
pd.read_msgpack('foo.msg')
s = pd.Series(np.random.rand(5), index=pd.date_range('20130101', periods=5))
pd.to_msgpack('foo.msg', df, s)
pd.read_msgpack('foo.msg')
```
You can pass `iterator=True` to iterator over the ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
76f5d497-fb8c-58b3-80fe-1e00afad0c58 | changelog | pandas | pandas_whatsnew | 0.13.0 | 39 | query = """SELECT station_number as STATION,
month as MONTH, AVG(mean_temp) as MEAN_TEMP
FROM publicdata:samples.gsod
WHERE YEAR = 2000
GROUP BY STATION, MONTH
ORDER BY STATION, MONTH ASC"""
# Fetch the result set for this query
# Your Google BigQuery Project ID
# To find this, see your dashboard:
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
5e52ef5f-b378-5fcb-9d38-4e64d1647f52 | changelog | pandas | pandas_whatsnew | 0.13.0 | 40 | 5 -92.378261 61.428117 102.042856
6 -77.703334 65.858888 102.900000
7 -87.821428 68.169663 106.510714
8 -89.431999 68.614215 105.500000
9 -86.611112 63.436935 107.142856
10 -78.209677 56.880838 92.103333
11 -50.125000 48.861228 94.996428
12 -50.332258... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
b54d15a9-c0c0-5cf9-9620-d29f5017c831 | changelog | pandas | pandas_whatsnew | 0.13.0 | 41 | `ndarray`. ([GH 4080](https://github.com/pandas-dev/pandas/issues/4080), [GH 3862](https://github.com/pandas-dev/pandas/issues/3862), [GH 816](https://github.com/pandas-dev/pandas/issues/816))
Warning
There are two potential incompatibilities from < 0.13.0
* Using certain numpy functions would previously return a `S... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
d8d1ed56-3f31-5f7d-b718-508785294351 | changelog | pandas | pandas_whatsnew | 0.13.0 | 42 | Out[108]:
0 NaN
1 2.0
2 3.0
3 4.0
dtype: float64
```
* Passing a `Series` directly to a cython function expecting an `ndarray` type will no
long work directly, you must pass `Series.values`, See [Enhancing Performance](../user_guide/enhancingperf.html#enhancingperf-ndarray)
* `Series(0.5)` ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
7e94a26a-9056-50bc-8a07-18481358da41 | changelog | pandas | pandas_whatsnew | 0.13.0 | 43 | - `__iter__,keys,__contains__,__len__,__neg__,__invert__`
- `convert_objects,as_blocks,as_matrix,values`
- `__getstate__,__setstate__` (compat remains in frame/panel)
- `__getattr__,__setattr__`
- `_indexed_same,reindex_like,align,where,mask`
- `fillna,replace` (`Series` replace is now consisten... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
eaf8234b-06a8-52f2-97f4-e816fa192ef4 | changelog | pandas | pandas_whatsnew | 0.13.0 | 44 | + Created a new block type in internals, `SparseBlock`, which can hold multi-dtypes
and is non-consolidatable. `SparseSeries` and `SparseDataFrame` now inherit
more methods from there hierarchy (Series/DataFrame), and no longer inherit
from `SparseArray` (which instead is the object of the `SparseBlock`)
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
31e0ecfe-3268-5669-a252-324e01fafc83 | changelog | pandas | pandas_whatsnew | 0.13.0 | 45 | values to propagate to new objects from an existing one (e.g. `name` in `Series` will
follow more automatically now)
* Internal type checking is now done via a suite of generated classes, allowing `isinstance(value, klass)`
without having to directly import the klass, courtesy of @jtratner
* Bug in Series update ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
413d11de-bbf5-5b08-bbe5-89e594dee62e | changelog | pandas | pandas_whatsnew | 0.13.0 | 46 | * `Series.copy` no longer accepts the `order` parameter and is now consistent with `NDFrame` copy
* Refactor `rename` methods to core/generic.py; fixes `Series.rename` for ([GH 4605](https://github.com/pandas-dev/pandas/issues/4605)), and adds `rename`
with the same signature for `Panel`
* Refactor `clip` methods to ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
9ec1f0a8-4a89-5d55-aa6f-424f2fa77ac5 | changelog | pandas | pandas_whatsnew | 0.13.0 | 47 | ## Bug fixes[#](#bug-fixes "Link to this heading")
* `HDFStore`
+ raising an invalid `TypeError` rather than `ValueError` when
appending with a different block ordering ([GH 4096](https://github.com/pandas-dev/pandas/issues/4096))
+ `read_hdf` was not respecting as passed `mode` ([GH 4504](https://github.com/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
92fa173d-3df6-503a-8cba-97c4b0af12ed | changelog | pandas | pandas_whatsnew | 0.13.0 | 48 | ([GH 4708](https://github.com/pandas-dev/pandas/issues/4708))
+ Fixed decoding perf issue on pyt3 ([GH 5441](https://github.com/pandas-dev/pandas/issues/5441))
+ Validate levels in a MultiIndex before storing ([GH 5527](https://github.com/pandas-dev/pandas/issues/5527))
+ Correctly handle `data_columns` with ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
8cf44746-33c0-579d-9d87-65f0e53d6ad1 | changelog | pandas | pandas_whatsnew | 0.13.0 | 49 | * Fixed test failure `test_time_series_plot_color_with_empty_kwargs` when
using custom matplotlib default colors ([GH 4345](https://github.com/pandas-dev/pandas/issues/4345))
* Fix running of stata IO tests. Now uses temporary files to write
([GH 4353](https://github.com/pandas-dev/pandas/issues/4353))
* Fixed an i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
7f6f465f-d467-5a86-9598-549cf1398dcb | changelog | pandas | pandas_whatsnew | 0.13.0 | 50 | as the docstring says ([GH 4362](https://github.com/pandas-dev/pandas/issues/4362)).
* `as_index` is no longer ignored when doing groupby apply ([GH 4648](https://github.com/pandas-dev/pandas/issues/4648),
[GH 3417](https://github.com/pandas-dev/pandas/issues/3417))
* JSON NaT handling fixed, NaTs are now serialize... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
8ec00625-3b5a-573d-a7d4-9e9366217d50 | changelog | pandas | pandas_whatsnew | 0.13.0 | 51 | * Fixed JSON bug where locales with decimal separators other than ‘.’ threw
exceptions when encoding / decoding certain values. ([GH 4918](https://github.com/pandas-dev/pandas/issues/4918))
* Fix `.iat` indexing with a `PeriodIndex` ([GH 4390](https://github.com/pandas-dev/pandas/issues/4390))
* Fixed an issue where ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
f43352b7-6438-56f6-b9aa-139b762eef95 | changelog | pandas | pandas_whatsnew | 0.13.0 | 52 | called using the top level matplotlib API ([GH 4408](https://github.com/pandas-dev/pandas/issues/4408))
* Fixed a bug where calling `Series.astype(str)` would truncate the string
([GH 4405](https://github.com/pandas-dev/pandas/issues/4405), [GH 4437](https://github.com/pandas-dev/pandas/issues/4437))
* Fixed a py3 ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
5d93bbc7-b636-5044-99c3-229fafa56bda | changelog | pandas | pandas_whatsnew | 0.13.0 | 53 | object ([GH 4016](https://github.com/pandas-dev/pandas/issues/4016))
* Fix resampling bug where custom reduce function not used if only one group
([GH 3849](https://github.com/pandas-dev/pandas/issues/3849), [GH 4494](https://github.com/pandas-dev/pandas/issues/4494))
* Fixed Panel assignment with a transposed fram... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
b2a7cc4b-0711-533a-96be-2bc8d11333ad | changelog | pandas | pandas_whatsnew | 0.13.0 | 54 | be lost when expanding the index. ([GH 3742](https://github.com/pandas-dev/pandas/issues/3742), [GH 4039](https://github.com/pandas-dev/pandas/issues/4039))
* Fixed issue where individual `names`, `levels` and `labels` could be
set on `MultiIndex` without validation ([GH 3714](https://github.com/pandas-dev/pandas/i... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
7ce37682-2367-5071-9e78-d6d26a3f029e | changelog | pandas | pandas_whatsnew | 0.13.0 | 55 | * Fix bug in `pd.read_clipboard` on windows with PY3 ([GH 4561](https://github.com/pandas-dev/pandas/issues/4561)); not
decoding properly
* `tslib.get_period_field()` and `tslib.get_period_field_arr()` now raise
if code argument out of range ([GH 4519](https://github.com/pandas-dev/pandas/issues/4519), [GH 4520](ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
d8c245e1-4776-57ac-9b5c-d56175f7bda1 | changelog | pandas | pandas_whatsnew | 0.13.0 | 56 | * Fix assignment with iloc/loc involving a dtype change in an existing column
([GH 4312](https://github.com/pandas-dev/pandas/issues/4312), [GH 5702](https://github.com/pandas-dev/pandas/issues/5702)) have internal setitem\_with\_indexer in core/indexing
to use Block.setitem
* Fixed bug where thousands operator was... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
5afab6a8-1cf8-5af6-9eca-731807c7514d | changelog | pandas | pandas_whatsnew | 0.13.0 | 57 | ([GH 4626](https://github.com/pandas-dev/pandas/issues/4626))
* Fix `DataFrame.from_records` with a plain-vanilla `ndarray`.
([GH 4727](https://github.com/pandas-dev/pandas/issues/4727))
* Fix some inconsistencies with `Index.rename` and `MultiIndex.rename`,
etc. ([GH 4718](https://github.com/pandas-dev/pandas/is... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
099c24c6-a13c-5707-bea9-b5490c25ba4d | changelog | pandas | pandas_whatsnew | 0.13.0 | 58 | * Bug with reindexing on the index with a non-unique index will now raise
`ValueError` ([GH 4746](https://github.com/pandas-dev/pandas/issues/4746))
* Bug in setting with `loc/ix` a single indexer with a MultiIndex axis and
a NumPy array, related to ([GH 3777](https://github.com/pandas-dev/pandas/issues/3777))
* Bu... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
ce2d1ee8-6ef2-51b1-9c0b-d84c1ddaf84f | changelog | pandas | pandas_whatsnew | 0.13.0 | 59 | ([GH 3963](https://github.com/pandas-dev/pandas/issues/3963))
* Fixed an issue with a duplicate index and assignment with a dtype change
([GH 4686](https://github.com/pandas-dev/pandas/issues/4686))
* Fixed bug with reading compressed files in as `bytes` rather than `str`
in Python 3. Simplifies bytes-producing f... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
c29b1a86-92e6-5e2e-9230-0c1598d7389f | changelog | pandas | pandas_whatsnew | 0.13.0 | 60 | single column and passing a list for `ascending`, the argument for
`ascending` was being interpreted as `True` ([GH 4839](https://github.com/pandas-dev/pandas/issues/4839),
[GH 4846](https://github.com/pandas-dev/pandas/issues/4846))
* Fixed `Panel.tshift` not working. Added `freq` support to `Panel.shift`
([GH... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
d0324f96-1b19-5f59-ba67-e7924379273b | changelog | pandas | pandas_whatsnew | 0.13.0 | 61 | the `by` argument was passed ([GH 4112](https://github.com/pandas-dev/pandas/issues/4112), [GH 4113](https://github.com/pandas-dev/pandas/issues/4113)).
* Fixed a bug in `convert_objects` for > 2 ndims ([GH 4937](https://github.com/pandas-dev/pandas/issues/4937))
* Fixed a bug in DataFrame/Panel cache insertion and s... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
03f9a16b-468c-5f4c-9153-1460b62897db | changelog | pandas | pandas_whatsnew | 0.13.0 | 62 | separate metadata. ([GH 4202](https://github.com/pandas-dev/pandas/issues/4202), [GH 4830](https://github.com/pandas-dev/pandas/issues/4830))
* Fixed skiprows option in Python parser for read\_csv ([GH 4382](https://github.com/pandas-dev/pandas/issues/4382))
* Fixed bug preventing `cut` from working with `np.inf` lev... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
25d76b95-24e1-5186-b216-8082d5798545 | changelog | pandas | pandas_whatsnew | 0.13.0 | 63 | * Fixed wrong index name during read\_csv if using usecols. Applies to c
parser only. ([GH 4201](https://github.com/pandas-dev/pandas/issues/4201))
* `Timestamp` objects can now appear in the left hand side of a comparison
operation with a `Series` or `DataFrame` object ([GH 4982](https://github.com/pandas-dev/pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
e9b1995a-b10c-5ed4-879e-b10e3eaf5af7 | changelog | pandas | pandas_whatsnew | 0.13.0 | 64 | * Make sure series-series boolean comparisons are label based ([GH 4947](https://github.com/pandas-dev/pandas/issues/4947))
* Bug in multi-level indexing with a Timestamp partial indexer
([GH 4294](https://github.com/pandas-dev/pandas/issues/4294))
* Tests/fix for MultiIndex construction of an all-nan frame ([GH 4078... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
a14f5290-eb51-5f54-a44d-253a34464e9d | changelog | pandas | pandas_whatsnew | 0.13.0 | 65 | * Fixed a bug where [`read_html()`](../reference/api/pandas.read_html.html#pandas.read_html "pandas.read_html") was incorrectly parsing when
passed `index_col=0` ([GH 5066](https://github.com/pandas-dev/pandas/issues/5066)).
* Fixed a bug where [`read_html()`](../reference/api/pandas.read_html.html#pandas.read_html "... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
001cfec8-9b0d-5901-80ff-933eeac5f0f9 | changelog | pandas | pandas_whatsnew | 0.13.0 | 66 | * Provide automatic conversion of `object` dtypes on fillna, related
([GH 5103](https://github.com/pandas-dev/pandas/issues/5103))
* Fixed a bug where default options were being overwritten in the option
parser cleaning ([GH 5121](https://github.com/pandas-dev/pandas/issues/5121)).
* Treat a list/ndarray identicall... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
28e64ced-e34d-5c61-af8b-e5b2b14996fb | changelog | pandas | pandas_whatsnew | 0.13.0 | 67 | * Fix better error message for to\_datetime ([GH 4928](https://github.com/pandas-dev/pandas/issues/4928))
* Made sure different locales are tested on travis-ci ([GH 4918](https://github.com/pandas-dev/pandas/issues/4918)). Also
adds a couple of utilities for getting locales and setting locales with a
context manage... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
8b4513ab-167e-5321-9d29-80530a771733 | changelog | pandas | pandas_whatsnew | 0.13.0 | 68 | * Bug in `to_datetime` with a format and `coerce=True` not raising
([GH 5195](https://github.com/pandas-dev/pandas/issues/5195))
* Bug in `loc` setting with multiple indexers and a rhs of a Series that
needs broadcasting ([GH 5206](https://github.com/pandas-dev/pandas/issues/5206))
* Fixed bug where inplace setting... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
7f24d7c1-c775-5fdd-a04a-120dd1107182 | changelog | pandas | pandas_whatsnew | 0.13.0 | 69 | * Fixed issue with `drop` and a non-unique index on Series ([GH 5248](https://github.com/pandas-dev/pandas/issues/5248))
* Fixed segfault in C parser caused by passing more names than columns in
the file. ([GH 5156](https://github.com/pandas-dev/pandas/issues/5156))
* Fix `Series.isin` with date/time-like dtypes ([GH... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
e0af1928-c071-5079-bfee-cb5bca3c354e | changelog | pandas | pandas_whatsnew | 0.13.0 | 70 | * Fix return value/type signature of `initObjToJSON()` to be compatible
with numpy’s `import_array()` ([GH 5334](https://github.com/pandas-dev/pandas/issues/5334), [GH 5326](https://github.com/pandas-dev/pandas/issues/5326))
* Bug when renaming then set\_index on a DataFrame ([GH 5344](https://github.com/pandas-dev/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
74530ff1-f63a-5d70-99fe-0936202ec5e2 | changelog | pandas | pandas_whatsnew | 0.13.0 | 71 | and DataFrames that have repeated (non-unique) indices. ([GH 4620](https://github.com/pandas-dev/pandas/issues/4620))
* Fix empty series not printing name in repr ([GH 4651](https://github.com/pandas-dev/pandas/issues/4651))
* Make tests create temp files in temp directory by default. ([GH 5419](https://github.com/pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
d702818f-ae43-575d-9db1-67f42b1fd903 | changelog | pandas | pandas_whatsnew | 0.13.0 | 72 | * Bug in delitem on a Series ([GH 5542](https://github.com/pandas-dev/pandas/issues/5542))
* Bug fix in apply when using custom function and objects are not mutated ([GH 5545](https://github.com/pandas-dev/pandas/issues/5545))
* Bug in selecting from a non-unique index with `loc` ([GH 5553](https://github.com/pandas-de... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
9e63f8f5-ef0f-55ba-a262-a96f8f79fa85 | changelog | pandas | pandas_whatsnew | 0.13.0 | 73 | * Bug in MultiIndex selection in PY3 when using certain keys ([GH 5725](https://github.com/pandas-dev/pandas/issues/5725))
* Row-wise concat of differing dtypes failing in certain cases ([GH 5754](https://github.com/pandas-dev/pandas/issues/5754))
## Contributors[#](#contributors "Link to this heading")
A total of 77... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
d336bd0d-31c2-51af-a7ef-053c7f44af83 | changelog | pandas | pandas_whatsnew | 0.13.0 | 74 | * Kyle Kelley +
* Kyle Meyer
* Mike Kelly
* Mortada Mehyar +
* Nick Foti +
* Olivier Harris +
* Ondřej Čertík +
* PKEuS
* Phillip Cloud
* Pierre Haessig +
* Richard T. Guy +
* Roman Pekar +
* Roy Hyunjin Han
* Skipper Seabold
* Sten +
* Thomas A Caswell +
* Thomas Kluyver
* Tiago Requeijo +
* TomAugspurger
* Trent Hauc... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.0.md |
f5b1c59d-6f08-5809-b69f-bb0a894a9010 | changelog | pandas | pandas_whatsnew | 0.13.1 | 0 | # What's new in pandas 0.13.1
Source: https://pandas.pydata.org/docs/whatsnew/v0.13.1.html
# Version 0.13.1 (February 3, 2014)[#](#version-0-13-1-february-3-2014 "Link to this heading")
This is a minor release from 0.13.0 and includes a small number of API changes, several new features,
enhancements, and performance... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.1.md |
456c3024-5ff8-5fa7-b82a-87c4d93a0f00 | changelog | pandas | pandas_whatsnew | 0.13.1 | 1 | * Much work has been taking place on improving the docs, and a new [Contributing](../development/contributing.html#contributing) section has been added.
* Even though it may only be of interest to devs, we <3 our new CI status page: [ScatterCI](http://scatterci.github.io/pydata/pandas).
Warning
0.13.1 fixes a bug tha... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.1.md |
266eacee-4f76-5a9a-86c2-5d7c2d315645 | changelog | pandas | pandas_whatsnew | 0.13.1 | 2 | ## Output formatting enhancements[#](#output-formatting-enhancements "Link to this heading")
* df.info() view now display dtype info per column ([GH 5682](https://github.com/pandas-dev/pandas/issues/5682))
* df.info() now honors the option `max_info_rows`, to disable null counts for large frames ([GH 5974](https://git... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.1.md |
94043294-78ae-5e9d-8dba-1fa8b1c2cb3b | changelog | pandas | pandas_whatsnew | 0.13.1 | 3 | 1 B float64
2 C datetime64[ns]
dtypes: datetime64[ns](1), float64(2)
memory usage: 368.0 bytes
```
```None
# this is the default (same as in 0.13.0)
In [9]: pd.set_option("max_info_rows", max_info_rows)
In [10]: df.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex:... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.1.md |
a4cadab2-a001-50c4-b925-71b983e6b357 | changelog | pandas | pandas_whatsnew | 0.13.1 | 4 | Out[15]:
0 1
0 1 2
1 3 4
[2 rows x 2 columns]
```
* The `ArrayFormatter` for `datetime` and `timedelta64` now intelligently
limit precision based on the values in the array ([GH 3401](https://github.com/pandas-dev/pandas/issues/3401))
Previously output might look like:
```None
age ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.1.md |
83495c42-5e3c-583d-9867-e3a1f6f9ac4b | changelog | pandas | pandas_whatsnew | 0.13.1 | 5 | ## API changes[#](#api-changes "Link to this heading")
* Add `-NaN` and `-nan` to the default set of NA values ([GH 5952](https://github.com/pandas-dev/pandas/issues/5952)).
See [NA Values](../user_guide/io.html#io-na-values).
* Added `Series.str.get_dummies` vectorized string method ([GH 6021](https://github.com/pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.1.md |
43fd5928-d414-5cc7-ba15-19d817970497 | changelog | pandas | pandas_whatsnew | 0.13.1 | 6 | equal. ([GH 5283](https://github.com/pandas-dev/pandas/issues/5283)) See also [the docs](../user_guide/basics.html#basics-equals) for a motivating example.
```None
df = pd.DataFrame({"col": ["foo", 0, np.nan]})
df2 = pd.DataFrame({"col": [np.nan, 0, "foo"]}, index=[2, 1, 0])
df.equals(df2)
df.equals(df2.so... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.1.md |
2dd66ec5-2a04-5cd9-a160-13cceb50e467 | changelog | pandas | pandas_whatsnew | 0.13.1 | 7 | In [34]: empty.apply(applied_func)
Apply function being called with: Series([], Length: 0, dtype: float64)
Out[34]:
a NaN
b NaN
Length: 2, dtype: float64
```
Now, when `apply` is called on an empty `DataFrame`: if the `reduce`
argument is `True` a `Series` will returned, if it is `False` a
`Da... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.13.1.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.