-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
API/BUG: should df.loc[:,'col'] be the same as df['col'] for assignment #6149
Comments
Tough one. |
was going to throw this in the docs and then think about this for 0.14
|
hmm. That's a corner case. I think that part of the docs is there to help perhaps a SO question with accepted answer and a GH issue are good enough |
ok...going to move this to 0.14 to think about it |
my 2c, when you assign an entire column, the resulting dtype should match what |
ok...i can change pretty easily ....maybe will do tomorrow.. |
see also: http://stackoverflow.com/questions/21415432/pandas-v0-13-0-setting-dataframe-values-of-type-datetime64ns
I believe this changed from 0.12.was the same in 0.12Boils down to if the row indexer is a null-slice (IOW all rows are selected), should
dtype conversion be done or not (as it current)
The text was updated successfully, but these errors were encountered: