From fe83e64f947c25ce5f1ad1fd05f4b9ea649f9414 Mon Sep 17 00:00:00 2001 From: Mortada Mehyar Date: Wed, 4 Jul 2018 13:58:13 -0700 Subject: [PATCH] DOC: Add nrows to DataFrame.from_records docstring --- pandas/core/frame.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a420266561c5a..7b5f310315485 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1215,6 +1215,8 @@ def from_records(cls, data, index=None, exclude=None, columns=None, coerce_float : boolean, default False Attempt to convert values of non-string, non-numeric objects (like decimal.Decimal) to floating point, useful for SQL result sets + nrows : int, default None + Number of rows to read if data is an iterator Returns -------