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
The following seems like very natural syntax to specify the dtypes of various columns passed into the DataFrame constructor:
df = pd.DataFrame({'a':[1,2,3], 'b':[2.5,3.5,6.7]}, dtype={'a':'int32','b':'float32'})
However, right now it raises an error. Perhaps something worth implementing? See also http://stackoverflow.com/questions/21197774/assign-pandas-dataframe-column-dtypes
The text was updated successfully, but these errors were encountered:
this is covered by #4464 thanks
Sorry, something went wrong.
welcome a PR on this!
No branches or pull requests
The following seems like very natural syntax to specify the dtypes of various columns passed into the DataFrame constructor:
However, right now it raises an error. Perhaps something worth implementing? See also http://stackoverflow.com/questions/21197774/assign-pandas-dataframe-column-dtypes
The text was updated successfully, but these errors were encountered: