Skip to content

Commit 98c9c7f

Browse files
authored
DOC: DataFrame.from_records accepts an Iterable of data in the implementation, which is not specified in the docs (#62430)
1 parent f7d08a7 commit 98c9c7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,12 +2132,12 @@ def from_records(
21322132
"""
21332133
Convert structured or record ndarray to DataFrame.
21342134
2135-
Creates a DataFrame object from a structured ndarray, or sequence of
2135+
Creates a DataFrame object from a structured ndarray, or iterable of
21362136
tuples or dicts.
21372137
21382138
Parameters
21392139
----------
2140-
data : structured ndarray, sequence of tuples or dicts
2140+
data : structured ndarray, iterable of tuples or dicts
21412141
Structured input data.
21422142
index : str, list of fields, array-like
21432143
Field of array to use as the index, alternately a specific set of

0 commit comments

Comments
 (0)