Version 0.9.0 (October 7, 2012) — pandas 2.2.3 documentation (original) (raw)

This is a major release from 0.8.1 and includes several new features and enhancements along with a large number of bug fixes. New features include vectorized unicode encoding/decoding for Series.str, to_latex method to DataFrame, more flexible parsing of boolean values, and enabling the download of options data from Yahoo! Finance.

New features#

API changes#

In [1]: import io

In [2]: data = """ ...: 0,0,1 ...: 1,1,0 ...: 0,1,0 ...: """ ...:

In [3]: df = pd.read_csv(io.StringIO(data), header=None)

In [4]: df Out[4]: 0 1 2 0 0 0 1 1 1 1 0 2 0 1 0

[3 rows x 3 columns]

In [5]: s1 = pd.Series([1, 2, 3])

In [6]: s1 Out[6]: 0 1 1 2 2 3 Length: 3, dtype: int64

In [7]: s2 = pd.Series(s1, index=["foo", "bar", "baz"])

In [8]: s2 Out[8]: foo NaN bar NaN baz NaN Length: 3, dtype: float64

See the full release notes or issue tracker on GitHub for a complete list.

Contributors#

A total of 24 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.