Skip to content

Commit 9bee2f0

Browse files
DOC: Update from_records docstring to not mention DataFrame as valid input (pandas-dev#60310)
* DOC: Update from_records docstring to comply with numpydoc style (GH#60307) * Update pandas/core/frame.py Added "or" before the last item in the enumeration for improved clarity in the from_records docstring. Co-authored-by: Joris Van den Bossche <[email protected]> --------- Co-authored-by: Joris Van den Bossche <[email protected]>
1 parent 3c25c8c commit 9bee2f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2115,8 +2115,8 @@ def from_records(
21152115
"""
21162116
Convert structured or record ndarray to DataFrame.
21172117
2118-
Creates a DataFrame object from a structured ndarray, sequence of
2119-
tuples or dicts, or DataFrame.
2118+
Creates a DataFrame object from a structured ndarray, or sequence of
2119+
tuples or dicts.
21202120
21212121
Parameters
21222122
----------

0 commit comments

Comments
 (0)