Skip to content

Commit

Permalink
code sample for pandas-dev#46848
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed May 26, 2022
1 parent eb89046 commit a689227
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bisect/46848.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# BUG: Segfault when printing dataframe #46848

import numpy as np
import pandas as pd

print(pd.__version__)

df = pd.DataFrame(np.empty((1, 33), dtype=object))
for col in df.columns:
df[col] = np.empty_like(df[col])

print(df)

0 comments on commit a689227

Please sign in to comment.