-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Setting with enlargement fails in presence of MultiIndex #9250
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
pls pd.show_versions() |
I will do that asap tomorrow, since it was on my machine at work and I On Wed, Jan 14, 2015 at 5:51 PM, jreback [email protected] wrote:
|
hmm, this should work. I'll mark it as an enhancement. pull-requests are welcome. You can of course use
|
INSTALLED VERSIONScommit: None pandas: 0.15.2-80-ge69deae On Thu, Jan 15, 2015 at 1:50 AM, jreback [email protected] wrote:
|
I didn't want to use append because I was using the dataframe as a structure to hold some simulation within a loop, and I wanted to avoid extra copies if possible. I'm happy to contribute tests, but I don't know enough about Pandas internals to fix it myself... I can try to take a look though. |
it's going to copy with enlargement in either case - you never should do this in a loop |
Somehow - the enlarging fails. Any clue how to get it to work? I have also noticed that the 'fast' indexing methods, iat and at fail with DataFrames that are multi indexed.
The text was updated successfully, but these errors were encountered: