Skip to content

Commit

Permalink
code sample for pandas-dev#45957
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Mar 12, 2022
1 parent be300e8 commit a3c8836
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bisect/45957.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Passing an empty list to read_csv causes segmentation fault #45957

import pandas as pd

print(pd.__version__)

try:
pd.read_csv([])
except ValueError as err:
print(err)
exit(0)

0 comments on commit a3c8836

Please sign in to comment.