Skip to content

Commit a689227

Browse files
code sample for pandas-dev#46848
1 parent eb89046 commit a689227

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

bisect/46848.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# BUG: Segfault when printing dataframe #46848
2+
3+
import numpy as np
4+
import pandas as pd
5+
6+
print(pd.__version__)
7+
8+
df = pd.DataFrame(np.empty((1, 33), dtype=object))
9+
for col in df.columns:
10+
df[col] = np.empty_like(df[col])
11+
12+
print(df)

0 commit comments

Comments
 (0)