Skip to content

Commit 371b79e

Browse files
BUG: ExtensionArray._formatter does not need to handle nulls (#30861)
1 parent 8bdd7b1 commit 371b79e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/format.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ def _format(x):
12301230
if x is None:
12311231
return "None"
12321232
elif x is NA:
1233-
return formatter(x)
1233+
return str(NA)
12341234
elif x is NaT or np.isnat(x):
12351235
return "NaT"
12361236
except (TypeError, ValueError):

0 commit comments

Comments
 (0)