Skip to content

Commit 57c613a

Browse files
committed
Remove to_integer_array keyword in frame.py
1 parent f47b60f commit 57c613a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pandas/core/frame.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,7 @@ def __init__(
461461
if is_list_like(data[0]) and getattr(data[0], "ndim", 1) == 1:
462462
if is_named_tuple(data[0]) and columns is None:
463463
columns = data[0]._fields
464-
arrays, columns = to_arrays(
465-
data, columns, dtype=dtype, to_integer_array=to_integer_array
466-
)
464+
arrays, columns = to_arrays(data, columns, dtype=dtype)
467465
columns = ensure_index(columns)
468466

469467
# set the index
@@ -859,9 +857,9 @@ def style(self):
859857
... index=['panda', 'polar', 'koala'])
860858
>>> df
861859
species population
862-
panda bear 1864
863-
polar bear 22000
864-
koala marsupial 80000
860+
panda bear 1864
861+
polar bear 22000
862+
koala marsupial 80000
865863
>>> for label, content in df.items():
866864
... print('label:', label)
867865
... print('content:', content, sep='\n')

0 commit comments

Comments
 (0)