Skip to content

Commit 92ed281

Browse files
Danfernomroeschke
andauthored
Update pandas/io/stata.py
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 587e5d7 commit 92ed281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/stata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3197,7 +3197,7 @@ def generate_table(self) -> tuple[dict[str, tuple[int, int]], DataFrame]:
31973197
for j, (col, v) in enumerate(col_index):
31983198
val = row[col]
31993199
# Allow columns with mixed str and None or pd.NA (GH 23633)
3200-
val = "" if (val is None) or isna(val) else val
3200+
val = "" if isna(val) else val
32013201
key = gso_table.get(val, None)
32023202
if key is None:
32033203
# Stata prefers human numbers

0 commit comments

Comments
 (0)