Skip to content

Printing a DataFrame is slow #2876

New issue

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

Closed
mrjbq7 opened this issue Feb 15, 2013 · 2 comments
Closed

Printing a DataFrame is slow #2876

mrjbq7 opened this issue Feb 15, 2013 · 2 comments
Labels
Milestone

Comments

@mrjbq7
Copy link

mrjbq7 commented Feb 15, 2013

For some reason, calling print df is really slow:

In [1]: import pandas

In [2]: import numpy as np

In [3]: df = pandas.DataFrame(np.random.randn(1000,100000))

In [4]: %timeit print df
1 loops, best of 3: 1.93 s per loop

In [5]: %timeit print df.values
1000 loops, best of 3: 1.25 ms per loop
@wesm
Copy link
Member

wesm commented Feb 19, 2013

Yeah this is a bug. Will get fixed soon

@ghost
Copy link

ghost commented Feb 22, 2013

duplicate #2807

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants