Skip to content

Commit d7c6eb1

Browse files
committed
DOC: cookbook example
1 parent 424e187 commit d7c6eb1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/source/cookbook.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,12 @@ The :ref:`CSV <io.read_csv_table>` docs
304304
`Reading the first few lines of a frame
305305
<http://stackoverflow.com/questions/15008970/way-to-read-first-few-lines-for-pandas-dataframe>`__
306306

307+
Reading a file that is compressed but not by ``gzip/bz2`` (the native compresed formats which ``read_csv`` understands).
308+
This example shows a ``WinZipped`` file, but is a general application of opening the file within a context manager and
309+
using that handle to read.
310+
`See here
311+
<http://stackoverflow.com/questions/17789907/pandas-convert-winzipped-csv-file-to-data-frame>`__
312+
307313
`Inferring dtypes from a file
308314
<http://stackoverflow.com/questions/15555005/get-inferred-dataframe-types-iteratively-using-chunksize>`__
309315

0 commit comments

Comments
 (0)