We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca9c3e0 commit b355f9cCopy full SHA for b355f9c
pandas/io/json/_json.py
@@ -673,7 +673,7 @@ def __init__(
673
if not self.lines:
674
raise ValueError("chunksize can only be passed if lines=True")
675
if self.nrows is not None:
676
- self.chunksize = _validate_integer("nrows", self.nrows, 0)
+ self.nrows = _validate_integer("nrows", self.nrows, 0)
677
678
raise ValueError("nrows can only be passed if lines=True")
679
0 commit comments