Skip to content

Commit cb40a41

Browse files
committed
fixup! DOC: What's New for refactored compression code
1 parent 497f37a commit cb40a41

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/source/whatsnew/v0.20.0.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ now both inferred using their file extensions.
5353

5454
url = ('https://github.com/pandas-dev/pandas/raw/master/' +
5555
'pandas/io/tests/parser/data/salaries.csv.bz2')
56-
pd.read_table(url, compression='infer') # default, infer compression
57-
pd.read_table(url, compression='bz2') # explicitly specify compression
56+
df = pd.read_table(url, compression='infer') # default, infer compression
57+
df = pd.read_table(url, compression='bz2') # explicitly specify compression
58+
df.head(2)
5859

5960
.. _whatsnew_0200.enhancements.other:
6061

0 commit comments

Comments
 (0)