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
NumPy array of complex64 is implicitly converted to complex128 when used as data for DataFrame:
>>> a=np.random.randn(10).astype(np.complex64) >>> a.dtype dtype('complex64') >>> pd.DataFrame({'a': a}).a.dtype dtype('complex128') >>>
The problem does not affect Series:
In [7]: Series(a).dtype Out[7]: dtype('complex64')
The text was updated successfully, but these errors were encountered:
closed by #10975
Sorry, something went wrong.
No branches or pull requests
NumPy array of complex64 is implicitly converted to complex128 when used as data for DataFrame:
The problem does not affect Series:
The text was updated successfully, but these errors were encountered: