Skip to content

Commit a048e69

Browse files
KhemkaranKhemkaran
authored andcommitted
removed redundant check in as_json_table_type
1 parent 164e716 commit a048e69

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pandas/io/json/_table_schema.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ def as_json_table_type(x: DtypeObj) -> str:
9292
return "duration"
9393
elif is_string_dtype(x):
9494
return "string"
95-
elif isinstance(x, ExtensionDtype):
96-
return "any"
9795
else:
9896
return "any"
9997

0 commit comments

Comments
 (0)