Skip to content
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

Refactor for DataFrames v0.21 compatibility #63

Merged
merged 4 commits into from
Jul 23, 2020

Conversation

danielolsen
Copy link
Contributor

@danielolsen danielolsen commented Jul 23, 2020

Purpose

Similar to #62, we refactor to be compatible with the most up-to-date version of a dependency. The fact that these both upgrade from 0.20 to 0.21 via breaking changes is coincidence.

What is the code doing

Validation

Validated on a fresh install.

Time to review

The code itself is four lines. More time if you want to dig into the details.

@BainanXia
Copy link
Collaborator

BainanXia commented Jul 23, 2020

Does the switching from DataFrame.by to DataFrame.combine+ DataFrame.groupby give us deprecation warning in the current setup?

@danielolsen
Copy link
Contributor Author

Does the switching from DataFrame.by to DataFrame.combine+ DataFrame.groupby give us deprecation warning in the current setup?

The deprecation warning is not present using DataFrames v0.20, in DataFrames v0.21 there is a warning but the operation still works (probably to be fully removed in a later version).

@BainanXia
Copy link
Collaborator

@danielolsen So the main reason we would like to switch as this point is for open source concerns, i.e have latest dependencies in our package?

@danielolsen
Copy link
Contributor Author

@danielolsen So the main reason we would like to switch as this point is for open source concerns, i.e have latest dependencies in our package?

Exactly. Nothing is broken, but we would like to be using the latest and greatest versions of the dependencies, if it's not too much work.

Copy link
Collaborator

@BainanXia BainanXia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree.

@danielolsen danielolsen merged commit df01f66 into develop Jul 23, 2020
@danielolsen danielolsen deleted the daniel/update_dataframes_v021 branch July 23, 2020 21:03
danielolsen added a commit that referenced this pull request Jul 23, 2020
* refactor: use new DataFrames groupby syntax

* refactor: use innerjoin instead of join for DataFrame

* chore: update DataFrames compatibility from 0.20 to 0.21

* chore: update Manifest.toml for DataFrames 0.21.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants