Skip to content
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

DOC: add import prefix to all pandas imports #1967

Closed
timmie opened this issue Sep 25, 2012 · 5 comments
Closed

DOC: add import prefix to all pandas imports #1967

timmie opened this issue Sep 25, 2012 · 5 comments
Labels

Comments

@timmie
Copy link
Contributor

timmie commented Sep 25, 2012

in the docs, numpy is often imported with

from numpy import np

http://pandas.pydata.org/pandas-docs/dev/reshaping.html?highlight=curious

for an easier reuse, what about adopting

import pandas as pd

for the docs?

@wesm
Copy link
Member

wesm commented Sep 25, 2012

Yes-- been meaning to do this (import pandas as pd)

@timmie
Copy link
Contributor Author

timmie commented Sep 25, 2012

OK, then add me to this issue and also the community tag.

@konarkmodi
Copy link

Hi @timmie @wesm Is this still open ? If yes, I would like to work on this.

@jreback
Copy link
Contributor

jreback commented Apr 29, 2014

@konarkmodi sure

note that import pandas as pd is done in very file, but its just suppressed in the doc output

not a problem with putting a short 'these are the imports' at the top of each major section (only once)

@jorisvandenbossche
Copy link
Member

Superceded by #9886

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

5 participants