|
1 |
| - |
2 | 1 | .. _whatsnew_060:
|
3 | 2 |
|
4 | 3 | v.0.6.0 (November 25, 2011)
|
5 | 4 | ---------------------------
|
| 5 | + |
| 6 | +New Features |
| 7 | +~~~~~~~~~~~~ |
| 8 | +- Add ``melt`` function to ``pandas.core.reshape`` |
| 9 | +- Add ``level`` parameter to group by level in Series and DataFrame descriptive statistics (PR313_) |
| 10 | +- Add ``head`` and ``tail`` methods to Series, analogous to to DataFrame (PR296_) |
| 11 | +- Add ``Series.isin`` function which checks if each value is contained in a passed sequence (GH289_) |
| 12 | +- Add ``float_format`` option to ``Series.to_string`` |
| 13 | +- MAYBE DOCUMENTED? Add ``skip_footer`` (GH291_) and ``converters`` (GH343_) options to ``read_csv`` and ``read_table`` |
| 14 | +- Add proper, tested weighted least squares to standard and panel OLS (GH303_) |
| 15 | +- Add ``drop_duplicates`` and ``duplicated`` functions for removing duplicate DataFrame rows and checking for duplicate rows, respectively (GH319_) |
| 16 | +- Implement logical (boolean) operators '&', '|', '^', '~' on DataFrame (GH347_) |
| 17 | +- MAYBE ? Add ``Series.mad``, mean absolute deviation, matching DataFrame |
| 18 | +- MAYBE? Add ``QuarterEnd`` DateOffset (PR321_) |
| 19 | +- Add matrix multiplication function ``dot`` to DataFrame (GH65_) |
| 20 | +- Add ``orient``5 option to ``Panel.from_dict`` to ease creation of mixed-type Panels (GH359_, GH301_) |
| 21 | +- Add ``DataFrame.from_dict`` with similar ``orient`` option |
| 22 | +- Can now pass list of tuples or list of lists to ``DataFrame.from_records`` for fast conversion to DataFrame (GH357_) |
| 23 | +- Can pass multiple levels to groupby, e.g. ``df.groupby(level=[0, 1])`` (GH103_) |
| 24 | +- Can sort by multiple columns in ``DataFrame.sort_index`` (GH92_, PR362_) |
| 25 | +- Add fast ``get_value`` and ``put_value`` methods to DataFrame and micro-performance tweaks (GH360_) |
| 26 | +- Add ``cov`` instance methods to Series and DataFrame (GH194_, PR362_) |
| 27 | +- Add bar plot option to ``DataFrame.plot`` (PR348_) |
| 28 | +- Add ``idxmin`` and ``idxmax`` functions to Series and DataFrame for computing index labels achieving maximum and minimum values (PR286_) |
| 29 | +- Add ``read_clipboard`` function for parsing DataFrame from OS clipboard, should work across platforms (GH300_) |
| 30 | +- Add ``nunique`` function to Series for counting unique elements (GH297_) |
| 31 | +- DataFrame constructor will use Series name if no columns passed (GH373_) |
| 32 | +- Support regular expressions and longer delimiters in read_table/read_csv, but does not handle quoted strings yet (GH364_) |
| 33 | +- Add ``DataFrame.to_html`` for formatting DataFrame to HTML (PR387_) |
| 34 | +- MaskedArray can be passed to DataFrame constructor and masked values will be converted to NaN (PR396_) |
| 35 | +- Add ``DataFrame.boxplot`` function (GH368_, others) |
| 36 | +- Can pass extra args, kwds to DataFrame.apply (GH376_) |
| 37 | +- Arithmetic methods like ``sum`` will attempt to sum dtype=object values by default instead of excluding them (GH382_) |
| 38 | +- Print level names in hierarchical index in Series repr (GH305_) |
| 39 | +- Return DataFrame when performing GroupBy on selected column and as_index=False (GH308_) |
| 40 | +- Can pass vector to ``on`` argument in ``DataFrame.join`` (GH312_) |
| 41 | +- Show legend by default in ``DataFrame.plot``, add ``legend`` boolean flag |
| 42 | + (GH324_) np.unique called on a Series faster (GH327_) "empty" combinations |
| 43 | + ``Series.map`` significantly when passed elementwise Python function, |
| 44 | + motivated by PR355_ enhancements throughout the codebase (GH361_) with 3-5x |
| 45 | + better performance than ``np.apply_along_axis`` (GH309_) the passed function |
| 46 | + only requires an ndarray (GH309_) |
| 47 | +- Can pass multiple levels to ``stack`` and ``unstack`` (GH370_) |
| 48 | +- Can pass multiple values columns to ``pivot_table`` (GH381_) |
| 49 | +- Can call ``DataFrame.delevel`` with standard Index with name set (GH393_) |
| 50 | +- Use Series name in GroupBy for result index (GH363_) |
| 51 | +- MAYBE? Refactor Series/DataFrame stat methods to use common set of NaN-friendly function |
| 52 | +
|
| 53 | +Performance Enhancements |
| 54 | +~~~~~~~~~~~~~~~~~~~~~~~~ |
| 55 | +- VBENCH Cythonized ``cache_readonly``, resulting in substantial micro-performance |
| 56 | +- VBENCH Improve performance of ``MultiIndex.from_tuples`` |
| 57 | +- VBENCH Special Cython matrix iterator for applying arbitrary reduction operations |
| 58 | +- VBENCH + DOCUMENT Add ``raw`` option to ``DataFrame.apply`` for getting better performance when |
| 59 | +- VBENCH Faster cythonized count by level in Series and DataFrame (GH341_) |
| 60 | +- VBENCH? Significant GroupBy performance enhancement with multiple keys with many |
| 61 | +- VBENCH New Cython vectorized function ``map_infer`` speeds up ``Series.apply`` and |
| 62 | +- VBENCH Significantly improved performance of ``Series.order``, which also makes |
| 63 | +- VBENCH Vastly improved performance of GroupBy on axes with a MultiIndex (GH299_) |
| 64 | + |
| 65 | +.. _GH65: https://github.com/wesm/pandas/issues/65 |
| 66 | +.. _GH92: https://github.com/wesm/pandas/issues/92 |
| 67 | +.. _GH103: https://github.com/wesm/pandas/issues/103 |
| 68 | +.. _GH194: https://github.com/wesm/pandas/issues/194 |
| 69 | +.. _GH289: https://github.com/wesm/pandas/issues/289 |
| 70 | +.. _GH291: https://github.com/wesm/pandas/issues/291 |
| 71 | +.. _GH297: https://github.com/wesm/pandas/issues/297 |
| 72 | +.. _GH299: https://github.com/wesm/pandas/issues/299 |
| 73 | +.. _GH300: https://github.com/wesm/pandas/issues/300 |
| 74 | +.. _GH301: https://github.com/wesm/pandas/issues/301 |
| 75 | +.. _GH303: https://github.com/wesm/pandas/issues/303 |
| 76 | +.. _GH305: https://github.com/wesm/pandas/issues/305 |
| 77 | +.. _GH308: https://github.com/wesm/pandas/issues/308 |
| 78 | +.. _GH309: https://github.com/wesm/pandas/issues/309 |
| 79 | +.. _GH312: https://github.com/wesm/pandas/issues/312 |
| 80 | +.. _GH319: https://github.com/wesm/pandas/issues/319 |
| 81 | +.. _GH324: https://github.com/wesm/pandas/issues/324 |
| 82 | +.. _GH327: https://github.com/wesm/pandas/issues/327 |
| 83 | +.. _GH341: https://github.com/wesm/pandas/issues/341 |
| 84 | +.. _GH343: https://github.com/wesm/pandas/issues/343 |
| 85 | +.. _GH347: https://github.com/wesm/pandas/issues/347 |
| 86 | +.. _GH357: https://github.com/wesm/pandas/issues/357 |
| 87 | +.. _GH359: https://github.com/wesm/pandas/issues/359 |
| 88 | +.. _GH360: https://github.com/wesm/pandas/issues/360 |
| 89 | +.. _GH361: https://github.com/wesm/pandas/issues/361 |
| 90 | +.. _GH363: https://github.com/wesm/pandas/issues/363 |
| 91 | +.. _GH364: https://github.com/wesm/pandas/issues/364 |
| 92 | +.. _GH368: https://github.com/wesm/pandas/issues/368 |
| 93 | +.. _GH370: https://github.com/wesm/pandas/issues/370 |
| 94 | +.. _GH373: https://github.com/wesm/pandas/issues/373 |
| 95 | +.. _GH376: https://github.com/wesm/pandas/issues/376 |
| 96 | +.. _GH381: https://github.com/wesm/pandas/issues/381 |
| 97 | +.. _GH382: https://github.com/wesm/pandas/issues/382 |
| 98 | +.. _GH393: https://github.com/wesm/pandas/issues/393 |
| 99 | +.. _PR296: https://github.com/wesm/pandas/pull/296 |
| 100 | +.. _PR313: https://github.com/wesm/pandas/pull/313 |
| 101 | +.. _PR321: https://github.com/wesm/pandas/pull/321 |
| 102 | +.. _PR348: https://github.com/wesm/pandas/pull/348 |
| 103 | +.. _PR355: https://github.com/wesm/pandas/pull/355 |
| 104 | +.. _PR362: https://github.com/wesm/pandas/pull/362 |
| 105 | +.. _PR386: https://github.com/wesm/pandas/pull/386 |
| 106 | +.. _PR387: https://github.com/wesm/pandas/pull/387 |
| 107 | +.. _PR396: https://github.com/wesm/pandas/pull/396 |
0 commit comments