Skip to content

Commit

Permalink
code sample for pandas-dev#38714
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Dec 27, 2020
1 parent a5535f4 commit 1f3fa0c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bisect/38714.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import pandas as pd
import pandas.testing as tm

print(pd.__version__)

df = pd.DataFrame({"a": [1] * 2188})

p = "test.csv.zip" # replace with available path
df.to_csv(p)
result = pd.read_csv(p)
print(result)

tm.assert_frame_equal(result[["a"]], df)

0 comments on commit 1f3fa0c

Please sign in to comment.