-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
assignment to slice #5641
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
Comments
|
Thank you for the quick response
That looks like a workaround to me. Are there more elegant ways to do this |
|
@jreback, I'm sure I knew how to do this once with But I believe the following is unambiguous on which slices apply to which axis:
Did this ever work? It does seem like a reasonable thing to want to do. |
you syntax is fine along with but not implemented ; I don't believe this ever was, related is #3057 |
Thanks this works. This e-Mail and any attachments contain privileged and confidential information of Acadian and may be accessed and read only by the intended recipients. Any further distribution or reproduction of this material by recipients, or use for any purpose not authorized by Acadian, is strictly prohibited. If you are not the intended recipient and this e-mail and attachments have been sent or passed on to you in error, please destroy the same and contact us immediately. Confidentiality and privilege are not lost by this transmission having been sent or passed on to you in error. Acadian is not liable for any damage that may be caused by viruses or transmission errors. Acadian Asset Management LLC is registered as an investment adviser with the U.S. Securities and Exchange Commission. Registered Office: 260 Franklin Street, Boston, Massachusetts 02110. Acadian Asset Management (UK) Limited is a private limited company incorporated in England, number 05644066, and is authorised and regulated by the Financial Conduct Authority of the United Kingdom. Registered office: 36-38 Cornhill, London, EC3V3ND, United Kingdom. Acadian Asset Management (Singapore) Pte Ltd. (Registration Number: 199902125D) is a private company limited by shares organized under Singapore law and is authorized by the Monetary Authority of Singapore. Registered office: 8 Shenton Way, #37-02, Singapore 068811. [AAM_2010_v1.3] From: jreback [mailto:[email protected]] you syntax is fine along with f.loc[(None,'A'),:] (as can't use the more useful ':' where None is but not implemented ; I don't believe this ever was, related is #3057#3057 — |
In pandas version 0.81, this used to work:
In pandas 0.11, however this same code gives the following error:
Now I understand that the slicing changed, so if I use:
it works:
Questions:
this does not work:
The text was updated successfully, but these errors were encountered: