Skip to content

Commit eb25047

Browse files
committed
DOC: v0.11.1 editing
1 parent 9f853d2 commit eb25047

File tree

1 file changed

+60
-64
lines changed

1 file changed

+60
-64
lines changed

doc/source/v0.11.1.txt

Lines changed: 60 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
.. _whatsnew_0111:
22

3-
v0.11.1 (??)
3+
v0.11.1 (June ??, 2013)
44
------------------------
55

66
This is a minor release from 0.11.0 and includes several new features and
77
enhancements along with a large number of bug fixes.
88

9-
The I/O api is now much more consistent with the following top-level reading
10-
functions available, e.g. ``pd.read_csv``, and the counterpart writers are
11-
available as object methods, e.g. ``df.to_csv``
9+
API changes
10+
~~~~~~~~~~~
1211

13-
.. csv-table::
14-
:widths: 12, 15, 15, 15, 15
15-
:delim: ;
12+
- The I/O api is now much more consistent with the following top-level reading
13+
functions available, e.g. ``pd.read_csv``, and the counterpart writers are
14+
available as object methods, e.g. ``df.to_csv``
1615

17-
Reader; ``read_csv``; ``read_excel``; ``read_hdf``; ``read_sql``
18-
Writer; ``to_csv``; ``to_excel``; ``to_hdf``; ``to_sql``
19-
Reader; ``read_html``; ``read_stata``; ``read_clipboard`` ;
20-
Writer; ``to_html``; ``to_stata``; ``to_clipboard`` ;
16+
.. csv-table::
17+
:widths: 12, 15, 15, 15, 15
18+
:delim: ;
2119

22-
API changes
23-
~~~~~~~~~~~
20+
Read; ``read_csv``; ``read_excel``; ``read_hdf``; ``read_sql``
21+
Write; ``to_csv``; ``to_excel``; ``to_hdf``; ``to_sql``
22+
Read; ``read_html``; ``read_stata``; ``read_clipboard`` ;
23+
Write; ``to_html``; ``to_stata``; ``to_clipboard`` ;
2424

2525
- Fix modulo and integer division on Series,DataFrames to act similary to ``float`` dtypes to return
2626
``np.nan`` or ``np.inf`` as appropriate (GH3590_). This correct a numpy bug that treats ``integer``
2727
and ``float`` dtypes differently.
2828

2929
.. ipython:: python
3030

31-
p = DataFrame({ 'first' : [3,4,5,8], 'second' : [0,0,0,3] })
31+
p = DataFrame({ 'first' : [4,5,8], 'second' : [0,0,3] })
3232
p % 0
3333
p % p
3434
p / p
@@ -37,7 +37,7 @@ API changes
3737
- Add ``squeeze`` keyword to ``groupby`` to allow reduction from
3838
DataFrame -> Series if groups are unique. This is a Regression from 0.10.1.
3939
We are reverting back to the prior behavior. This means groupby will return the
40-
same shaped objects whether the groups are unique or not. revert on (GH2893_)
40+
same shaped objects whether the groups are unique or not. Revert this issue (GH2893_)
4141
with (GH3596_).
4242

4343
.. ipython:: python
@@ -83,6 +83,7 @@ API changes
8383
- ``DataFrame.interpolate()`` is now deprecated. Please use
8484
``DataFrame.fillna()`` and ``DataFrame.replace()`` instead. (GH3582_,
8585
GH3675_, GH3676_)
86+
8687
- the ``method`` and ``axis`` arguments of ``DataFrame.replace()`` are
8788
deprecated
8889

@@ -115,14 +116,17 @@ API changes
115116
from pandas.io.sql import read_frame
116117
read_frame(....)
117118

119+
- ``DataFrame.to_html`` and ``DataFrame.to_latex`` now accept a path for
120+
their first argument (GH3702_)
121+
118122
Enhancements
119123
~~~~~~~~~~~~
120124

121125
- ``pd.read_html()`` can now parse HTML strings, files or urls and return
122126
DataFrames, courtesy of @cpcloud. (GH3477_, GH3605_, GH3606_, GH3616_).
123127
It works with a *single* parser backend: BeautifulSoup4 + html5lib
124128

125-
- You can use ``pd.read_html()`` to read the output from ``DataFrame.to_html()`` like so
129+
You can use ``pd.read_html()`` to read the output from ``DataFrame.to_html()`` like so
126130

127131
.. ipython :: python
128132

@@ -138,18 +142,7 @@ Enhancements
138142
- ``pd.read_html()`` no longer performs hard conversion of date strings
139143
(GH3656_).
140144

141-
- ``HDFStore``
142-
143-
- will retain index attributes (freq,tz,name) on recreation (GH3499_)
144-
- will warn with a AttributeConflictWarning if you are attempting to append
145-
an index with a different frequency than the existing, or attempting
146-
to append an index with a different name than the existing
147-
- support datelike columns with a timezone as data_columns (GH2852_)
148-
149-
- ``fillna`` methods now raise a ``TypeError`` if the ``value`` parameter is
150-
a list or tuple.
151-
152-
- Added module for reading and writing Stata files: pandas.io.stata (GH1512_)
145+
- Added module for reading and writing Stata files: ``pandas.io.stata`` (GH1512_)
153146
accessable via ``read_stata`` top-level function for reading,
154147
and ``to_stata`` DataFrame method for writing
155148

@@ -175,29 +168,7 @@ Enhancements
175168

176169
to replace all occurrences of the string ``'.'`` with ``NaN``.
177170

178-
- ``Series.str`` now supports iteration (GH3638_). You can iterate over the
179-
individual elements of each string in the ``Series``. Each iteration yields
180-
yields a ``Series`` with either a single character at each index of the
181-
original ``Series`` or ``NaN``. For example,
182-
183-
.. ipython:: python
184-
185-
strs = 'go', 'bow', 'joe', 'slow'
186-
ds = Series(strs)
187-
188-
for s in ds.str:
189-
print s
190-
191-
s
192-
s.dropna().values.item() == 'w'
193-
194-
The last element yielded by the iterator will be a ``Series`` containing
195-
the last element of the longest string in the ``Series`` with all other
196-
elements being ``NaN``. Here since ``'slow'`` is the longest string
197-
and there are no other strings with the same length ``'w'`` is the only
198-
non-null string in the yielded ``Series``.
199-
200-
- Multi-index column support for reading and writing csvs
171+
- Multi-index column support for reading and writing csv format files
201172

202173
- The ``header`` option in ``read_csv`` now accepts a
203174
list of the rows from which to read the index.
@@ -233,11 +204,6 @@ Enhancements
233204
- ``pd.melt()`` now accepts the optional parameters ``var_name`` and ``value_name``
234205
to specify custom column names of the returned DataFrame.
235206

236-
- Plotting functions now raise a ``TypeError`` before trying to plot anything
237-
if the associated objects have have a ``dtype`` of ``object`` (GH1818_,
238-
GH3572_). This happens before any drawing takes place which elimnates any
239-
spurious plots from showing up.
240-
241207
- ``pd.set_option()`` now allows N option, value pairs (GH3667_).
242208

243209
Let's say that we had an option ``'a.b'`` and another option ``'b.c'``.
@@ -257,14 +223,47 @@ Enhancements
257223
pd.get_option('a.b')
258224
pd.get_option('b.c')
259225

260-
You can of course still do it sequentially if you want. You can use up to
261-
N arguments here, the only stipulation is that the number of arguments
262-
must be even (since if they weren't then that would mean you provided an
263-
argument name with no value).
264-
265226
Bug Fixes
266227
~~~~~~~~~
267228

229+
- Plotting functions now raise a ``TypeError`` before trying to plot anything
230+
if the associated objects have have a ``dtype`` of ``object`` (GH1818_,
231+
GH3572_). This happens before any drawing takes place which elimnates any
232+
spurious plots from showing up.
233+
234+
- ``fillna`` methods now raise a ``TypeError`` if the ``value`` parameter is
235+
a list or tuple.
236+
237+
- ``Series.str`` now supports iteration (GH3638_). You can iterate over the
238+
individual elements of each string in the ``Series``. Each iteration yields
239+
yields a ``Series`` with either a single character at each index of the
240+
original ``Series`` or ``NaN``. For example,
241+
242+
.. ipython:: python
243+
244+
strs = 'go', 'bow', 'joe', 'slow'
245+
ds = Series(strs)
246+
247+
for s in ds.str:
248+
print s
249+
250+
s
251+
s.dropna().values.item() == 'w'
252+
253+
The last element yielded by the iterator will be a ``Series`` containing
254+
the last element of the longest string in the ``Series`` with all other
255+
elements being ``NaN``. Here since ``'slow'`` is the longest string
256+
and there are no other strings with the same length ``'w'`` is the only
257+
non-null string in the yielded ``Series``.
258+
259+
- ``HDFStore``
260+
261+
- will retain index attributes (freq,tz,name) on recreation (GH3499_)
262+
- will warn with a ``AttributeConflictWarning`` if you are attempting to append
263+
an index with a different frequency than the existing, or attempting
264+
to append an index with a different name than the existing
265+
- support datelike columns with a timezone as data_columns (GH2852_)
266+
268267
- Non-unique index support clarified (GH3468_).
269268

270269
- Fix assigning a new index to a duplicate index in a DataFrame would fail (GH3468_)
@@ -282,9 +281,6 @@ Bug Fixes
282281

283282
- ``DataFrame.from_records`` did not accept empty recarrays (GH3682_)
284283

285-
- ``DataFrame.to_html`` and ``DataFrame.to_latex`` now accept a path for
286-
their first argument (GH3702_)
287-
288284
See the `full release notes
289285
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
290286
on GitHub for a complete list.

0 commit comments

Comments
 (0)