.. _whatsnew_060: Version 0.6.0 (November 25, 2011) --------------------------------- {{ header }} New features ~~~~~~~~~~~~ - :ref:`Added ` ``melt`` function to ``pandas.core.reshape`` - :ref:`Added ` ``level`` parameter to group by level in Series and DataFrame descriptive statistics (:issue:`313`) - :ref:`Added ` ``head`` and ``tail`` methods to Series, analogous to DataFrame (:issue:`296`) - :ref:`Added ` ``Series.isin`` function which checks if each value is contained in a passed sequence (:issue:`289`) - :ref:`Added ` ``float_format`` option to ``Series.to_string`` - :ref:`Added ` ``skip_footer`` (:issue:`291`) and ``converters`` (:issue:`343`) options to ``read_csv`` and ``read_table`` - :ref:`Added ` ``drop_duplicates`` and ``duplicated`` functions for removing duplicate DataFrame rows and checking for duplicate rows, respectively (:issue:`319`) - :ref:`Implemented ` operators '&', '|', '^', '-' on DataFrame (:issue:`347`) - :ref:`Added ` ``Series.mad``, mean absolute deviation - :ref:`Added ` ``QuarterEnd`` DateOffset (:issue:`321`) - :ref:`Added ` ``dot`` to DataFrame (:issue:`65`) - Added ``orient`` option to ``Panel.from_dict`` (:issue:`359`, :issue:`301`) - :ref:`Added ` ``orient`` option to ``DataFrame.from_dict`` - :ref:`Added ` passing list of tuples or list of lists to ``DataFrame.from_records`` (:issue:`357`) - :ref:`Added ` multiple levels to groupby (:issue:`103`) - :ref:`Allow ` multiple columns in ``by`` argument of ``DataFrame.sort_index`` (:issue:`92`, :issue:`362`) - :ref:`Added ` fast ``get_value`` and ``put_value`` methods to DataFrame (:issue:`360`) - Added ``cov`` instance methods to Series and DataFrame (:issue:`194`, :issue:`362`) - :ref:`Added ` ``kind='bar'`` option to ``DataFrame.plot`` (:issue:`348`) - :ref:`Added ` ``idxmin`` and ``idxmax`` to Series and DataFrame (:issue:`286`) - :ref:`Added ` ``read_clipboard`` function to parse DataFrame from clipboard (:issue:`300`) - :ref:`Added ` ``nunique`` function to Series for counting unique elements (:issue:`297`) - :ref:`Made ` DataFrame constructor use Series name if no columns passed (:issue:`373`) - :ref:`Support ` regular expressions in read_table/read_csv (:issue:`364`) - :ref:`Added ` ``DataFrame.to_html`` for writing DataFrame to HTML (:issue:`387`) - :ref:`Added ` support for MaskedArray data in DataFrame, masked values converted to NaN (:issue:`396`) - :ref:`Added ` ``DataFrame.boxplot`` function (:issue:`368`) - :ref:`Can ` pass extra args, kwds to DataFrame.apply (:issue:`376`) - :ref:`Implement ` ``DataFrame.join`` with vector ``on`` argument (:issue:`312`) - :ref:`Added ` ``legend`` boolean flag to ``DataFrame.plot`` (:issue:`324`) - :ref:`Can ` pass multiple levels to ``stack`` and ``unstack`` (:issue:`370`) - :ref:`Can ` pass multiple values columns to ``pivot_table`` (:issue:`381`) - :ref:`Use ` Series name in GroupBy for result index (:issue:`363`) - :ref:`Added ` ``raw`` option to ``DataFrame.apply`` for performance if only need ndarray (:issue:`309`) - Added proper, tested weighted least squares to standard and panel OLS (:issue:`303`) Performance enhancements ~~~~~~~~~~~~~~~~~~~~~~~~ - VBENCH Cythonized ``cache_readonly``, resulting in substantial micro-performance enhancements throughout the code base (:issue:`361`) - VBENCH Special Cython matrix iterator for applying arbitrary reduction operations with 3-5x better performance than ``np.apply_along_axis`` (:issue:`309`) - VBENCH Improved performance of ``MultiIndex.from_tuples`` - VBENCH Special Cython matrix iterator for applying arbitrary reduction operations - VBENCH + DOCUMENT Add ``raw`` option to ``DataFrame.apply`` for getting better performance when - VBENCH Faster cythonized count by level in Series and DataFrame (:issue:`341`) - VBENCH? Significant GroupBy performance enhancement with multiple keys with many "empty" combinations - VBENCH New Cython vectorized function ``map_infer`` speeds up ``Series.apply`` and ``Series.map`` significantly when passed elementwise Python function, motivated by (:issue:`355`) - VBENCH Significantly improved performance of ``Series.order``, which also makes np.unique called on a Series faster (:issue:`327`) - VBENCH Vastly improved performance of GroupBy on axes with a MultiIndex (:issue:`299`) .. _whatsnew_0.6.0.contributors: Contributors ~~~~~~~~~~~~ .. contributors:: v0.5.0..v0.6.0