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
Clean up merging of aggregation primitives #250
This pull request makes a minor refactor to how we calculate and then merge some aggregation primitives. By returning a series instead of a dataframe, so we can avoid a reset index.
I also noticed we don't test the trend primitive, which uses this code path, so I added another test for good measure.
Overall this PR simplifies code without changing any functionality.