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

[dist] Update method for concatenating distributions for multiple inputs #372

Open
BiancaMorandi opened this issue Feb 6, 2023 · 0 comments
Assignees
Labels
function improvement Add improvements to an existing function or feature

Comments

@BiancaMorandi
Copy link
Contributor

As reported in comments for #368, a workaround was made in the dist function in order to make it work with pandas >= 0.24.0, < 0.25.0. This version of pandas doesn't allow to concatenate two pandas.Series with a CategoricalIndex if having a different index length and therefore the following code was written to handle this.

image

Describe the solution you'd like
This workaround will need to be replaced with distributions = pd.concat([distributions, distribution], axis=1) when a breaking change release will be made of the brightwind library and the requirements will be updated to work only with pandas >= 0.25.0.

@BiancaMorandi BiancaMorandi added the function improvement Add improvements to an existing function or feature label Feb 6, 2023
@BiancaMorandi BiancaMorandi self-assigned this Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
function improvement Add improvements to an existing function or feature
Projects
None yet
Development

No branches or pull requests

1 participant