maximtrp / scikit-posthocs

Multiple Pairwise Comparisons (Post Hoc) Tests in Python
https://scikit-posthocs.rtfd.io
MIT License
351 stars 40 forks source link

added a conversion path for pre-melted dataframes #5

Closed bmcfee closed 6 years ago

bmcfee commented 6 years ago

The __convert_to_block_df helper had a missing code path for when the input is a pre-melted dataframe, which would cause an unbound variable error because x is undefined.

This PR adds support for pre-melted dataframes.

maximtrp commented 6 years ago

Thank you Brian!