We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
N = 100000 C = 5 In [6]: df = DataFrame(dict([('float{0}'.format(i), np.random.randn(N)) for i in range(C)])) In [7]: df.to_json('foo.json',orient='records',lines=True) In [8]: %timeit df.to_json('foo.json',orient='records',lines=True) 1 loop, best of 3: 3.66 s per loop In [9]: %timeit df.to_json('foo.json',orient='records') 10 loops, best of 3: 98.8 ms per loop
As discussed in #14391
The text was updated successfully, but these errors were encountered:
cc @aterrel
Sorry, something went wrong.
PERF: improved perf in .to_json when lines=True
e855e1f
closes pandas-dev#14408
7cad3f1
13f988c
[Backport #14429] PERF: improved perf in .to_json when lines=True
a1e73ee
closes #14408 (cherry picked from commit 7cad3f1)
Successfully merging a pull request may close this issue.
A small, complete example of the issue
As discussed in #14391
The text was updated successfully, but these errors were encountered: