Skip to content

Add dtypes property to DataFrame #145

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
wesm opened this issue Sep 16, 2011 · 2 comments
Closed

Add dtypes property to DataFrame #145

wesm opened this issue Sep 16, 2011 · 2 comments

Comments

@wesm
Copy link
Member

wesm commented Sep 16, 2011

@Property
def dtypes(self):
return np.sort( Series( dict( (x,self[x].dtype ) for x in self.columns ) ) )

@toor-toor
Copy link

Very useful for debugging -- thanks!

@wesm
Copy link
Member Author

wesm commented Sep 29, 2011

this was added in the 0.4.1 bugfix release

@wesm wesm closed this as completed Sep 29, 2011
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants