Skip to content

Fix for ambiguous column names in DataFrame returned by get_pomeroy_ratings#34

Merged
esqew merged 3 commits intodevfrom
get_pomeroy_ratings-column-names
Nov 11, 2022
Merged

Fix for ambiguous column names in DataFrame returned by get_pomeroy_ratings#34
esqew merged 3 commits intodevfrom
get_pomeroy_ratings-column-names

Conversation

@esqew
Copy link
Collaborator

@esqew esqew commented Nov 10, 2022

Currently, the DataFrame returned by kenpompy.misc.get_pomeroy_ratings() has several columns which share the same name. Needless to say, this can make it difficult to parse which column refers to which specific piece of data at first glance, and difficult to reference the specific column one might be after.

This PR introduces explicitly-prescribed column names to the returned DataFrame to alleviate this.

@j-andrews7 Wanted to run this change by you and get your thoughts before merging into the working branch, since it's a potentially breaking change.

@esqew esqew requested a review from j-andrews7 November 10, 2022 14:25
@esqew esqew self-assigned this Nov 10, 2022
Copy link
Owner

@j-andrews7 j-andrews7 left a comment

Choose a reason for hiding this comment

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

I think this is fine. Breaking stuff is a-okay with me, that's what versioning is for.

@esqew
Copy link
Collaborator Author

esqew commented Nov 11, 2022

Great! Thanks for the guidance.

@esqew esqew merged commit fa824d7 into dev Nov 11, 2022
@esqew esqew deleted the get_pomeroy_ratings-column-names branch November 11, 2022 12:19
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