forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make read_json with lines=True more memory-efficient
Instead of reading the whole file to memory and then manipulating it, read and parse it 10k lines at a time. This only covers some kinds of input to read_json. This also is much slower than the previous implementation.
- Loading branch information
1 parent
c55dbf0
commit 68063d8
Showing
1 changed file
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters