Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Submitting subset of dataframe to add_stat_annotation() causes TypeError: unhashable type: 'numpy.ndarray' #63

Open
moldovannorbert opened this issue Dec 9, 2020 · 0 comments

Comments

@moldovannorbert
Copy link

When I subset a pandas df with .isin() and I submit this to
add_stat_annotation(ax[0,0], data=SubsetDf, x=x, y=y, hue=hue, box_pairs=box_pairs, perform_stat_test=False, pvalues=SubsetDf["P-val"], text_annot_custom=SubsetDf["Text"], loc='inside', order=order, verbose=0)
I get the TypeError: unhashable type: 'numpy.ndarray'.
The SubsetDf is reindexed following subsetting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant