We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a3a4f3 commit 5a07ed5Copy full SHA for 5a07ed5
pandas/core/frame.py
@@ -2124,9 +2124,10 @@ def from_records(
2124
columns : sequence, default None
2125
Column names to use. If the passed data do not have names
2126
associated with them, this argument provides names for the
2127
- columns. Otherwise this argument indicates the order of the columns
+ columns. Otherwise, this argument indicates the order of the columns
2128
in the result (any names not found in the data will become all-NA
2129
- columns).
+ columns) and limits the data to these columns if not all column names
2130
+ are provided.
2131
coerce_float : bool, default False
2132
Attempt to convert values of non-string, non-numeric objects (like
2133
decimal.Decimal) to floating point, useful for SQL result sets.
0 commit comments