Skip to content

DOC: whatsnew fixes #11280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 23 additions & 11 deletions doc/source/whatsnew/v0.12.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ I/O Enhancements
df = DataFrame({'a': range(3), 'b': list('abc')})
print(df)
html = df.to_html()
alist = pd.read_html(html, infer_types=True, index_col=0)
alist = pd.read_html(html, index_col=0)
print(df == alist[0])

Note that ``alist`` here is a Python ``list`` so ``pd.read_html()`` and
Expand Down Expand Up @@ -252,19 +252,31 @@ I/O Enhancements
- Iterator support via ``read_hdf`` that automatically opens and closes the
store when iteration is finished. This is only for *tables*

.. ipython:: python
:okwarning:
.. code-block:: python

path = 'store_iterator.h5'
DataFrame(randn(10,2)).to_hdf(path,'df',table=True)
for df in read_hdf(path,'df', chunksize=3):
print(df)
In [25]: path = 'store_iterator.h5'

In [26]: DataFrame(randn(10,2)).to_hdf(path,'df',table=True)

In [27]: for df in read_hdf(path,'df', chunksize=3):
....: print df
....:
0 1
0 0.713216 -0.778461
1 -0.661062 0.862877
2 0.344342 0.149565
0 1
3 -0.626968 -0.875772
4 -0.930687 -0.218983
5 0.949965 -0.442354
0 1
6 -0.402985 1.111358
7 -0.241527 -0.670477
8 0.049355 0.632633
0 1
9 -1.502767 -1.225492

.. ipython:: python
:suppress:

import os
os.remove(path)

- ``read_csv`` will now throw a more informative error message when a file
contains no columns, e.g., all newline characters
Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.17.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ Other enhancements

- Allow passing `kwargs` to the interpolation methods (:issue:`10378`).

- Improved error message when concatenating an empty iterable of ``Dataframe``s (:issue:`9157`)
- Improved error message when concatenating an empty iterable of ``Dataframe`` objects (:issue:`9157`)

- ``pd.read_csv`` can now read bz2-compressed files incrementally, and the C parser can read bz2-compressed files from AWS S3 (:issue:`11070`, :issue:`11072`).

Expand Down