Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
API: arithmetic ops could accept an index as appropriate #4629
Not sure if this will cause weirdness but haveing the arithmetic operations able to accept an index (when appropriate type), e.g. a datecolumn should be able to interact with a DatetimeIndex, but prob should prohibit an int column from interacting with a IntIndex?
e.g. in below
This actually DOES work now! (and I take it back, does make some sense)
@jtratner no i expect it TO work
I guess there is some setting going on, so need to just fix it (e.g. just do index.to_series) is prob enough