<commit_before>.. _whatsnew_0100:

v0.10.0 (December ??, 2012)
---------------------------

This is a major release from 0.9.1 and includes several new features and
enhancements along with a large number of bug fixes.

New features
~~~~~~~~~~~~


API changes
~~~~~~~~~~~

  - ``Series.apply`` will now operate on a returned value from the applied function, that is itself a series, and possibly upcast the result to a DataFrame

    .. ipython:: python

        def f(x):
	   return Series([ x, x**2 ], index = ['x', 'x^s'])
        s = Series(np.random.rand(5))
	s
        s.apply(f)

    This is conceptually similar to the following.

    .. ipython:: python

       concat([ f(y) for x, y in s.iteritems() ], axis=1).T


See the `full release notes
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
on GitHub for a complete list.

.. _GH2316: https://github.com/pydata/pandas/issues/2316<commit_msg>DOC: mention new options API in whatsnew 0.10.0<commit_after>.. _whatsnew_0100:

v0.10.0 (December ??, 2012)
---------------------------

This is a major release from 0.9.1 and includes several new features and
enhancements along with a large number of bug fixes.

New features
~~~~~~~~~~~~


API changes
~~~~~~~~~~~

  - ``Series.apply`` will now operate on a returned value from the applied function, that is itself a series, and possibly upcast the result to a DataFrame

    .. ipython:: python

        def f(x):
	        return Series([ x, x**2 ], index = ['x', 'x^s'])
        s = Series(np.random.rand(5))
	    s
        s.apply(f)

    This is conceptually similar to the following.

    .. ipython:: python

        concat([ f(y) for x, y in s.iteritems() ], axis=1).T

  - New API functions for working with pandas options (GH2097_):

    - ``get_option`` / ``set_option`` - get/set the value of an option.
    - ``reset_option`` / ``reset_options`` - reset an options / all options to their default value.
    - ``describe_options`` - print a description of one or more option. When called  with no arguments. print all registered options.
    - ``set_printoptions`` is now deprecated (but functioning), the print options now live under "print_config.XYZ". For example:


    .. ipython:: python

       import pandas as pd
       pd.get_option("print_config.max_rows")

See the `full release notes
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
on GitHub for a complete list.

.. _GH2316: https://github.com/pydata/pandas/issues/2316
.. _GH2097: https://github.com/pydata/pandas/issues/2097
{'fraction_non_alphanumeric': 0.14803272302298404, 'fraction_numerical': 0.026490066225165563, 'mean_word_length': 2.855855855855856, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3269424', 'n_tokens_mistral': 855, 'n_tokens_neox': 769, 'n_words': 286}