-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: _flex_binary_moment() problems with different index sets #7514
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
My proposed code above depends on #7516 being fixed (due to the line "results.iloc[:, i, j] = results.iloc[:, j, i]"). |
it is quite inefficient to start with an empty pandas structure and fill it up. The reason dicts are used in the orgiinal is to avoid this problem. the issue in #7516 is separate and indepedent of this. You can do a pull-request to see what has changed in your proposed fix. Which should start with tests which replicate the issue. |
I'm trying to set things up to build pandas on Windows. Will see how it goes... |
just found this nice link: http://cowboyprogrammer.org/building-python-wheels-for-windows/ |
Yep, was working through it...
|
... am not having much luck getting things to build on Windows. :-( Will try this weekend on another machine. |
I'm going to break this out into two issues: one (this one) having to do with the bug with different index sets; and one (#7542) having to do with the column orders not being preserved. |
Merged into #7512. |
There are several issues with _flex_binary_moment().
A. When pairwise=True, it doesn't properly handle two DataFrames with different index sets. In the following example, I believe [6], [7], and [8] should all produce the result in [9].
The text was updated successfully, but these errors were encountered: