Skip to content

Commit b355f9c

Browse files
hasnain2808WillAyd
andauthored
Update pandas/io/json/_json.py fixed typo
Co-authored-by: William Ayd <[email protected]>
1 parent ca9c3e0 commit b355f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/json/_json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def __init__(
673673
if not self.lines:
674674
raise ValueError("chunksize can only be passed if lines=True")
675675
if self.nrows is not None:
676-
self.chunksize = _validate_integer("nrows", self.nrows, 0)
676+
self.nrows = _validate_integer("nrows", self.nrows, 0)
677677
if not self.lines:
678678
raise ValueError("nrows can only be passed if lines=True")
679679

0 commit comments

Comments
 (0)