Skip to content

Commit 38eba45

Browse files
authored
don't need len around shape
#Fix pandas-dev#34274
1 parent e41ee47 commit 38eba45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/pytables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4789,7 +4789,7 @@ def _maybe_convert_for_string_atom(
47894789

47904790
# we cannot serialize this data, so report an exception on a column
47914791
# by column basis
4792-
for i in range(len(block.shape[0])):
4792+
for i in range(block.shape[0]):
47934793

47944794
col = block.iget(i)
47954795
inferred_type = lib.infer_dtype(col, skipna=False)

0 commit comments

Comments
 (0)