Fix #7056 'Unhashable type' in paired t-test chart (#7076)

This commit is contained in:
Maxime Beauchemin 2019-04-20 10:26:37 -07:00 committed by GitHub
parent eb9295d97f
commit 5db20e3545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2558,7 +2558,7 @@ class PairedTTestViz(BaseViz):
""" """
fd = self.form_data fd = self.form_data
groups = fd.get('groupby') groups = fd.get('groupby')
metrics = fd.get('metrics') metrics = self.metric_labels
df = df.pivot_table( df = df.pivot_table(
index=DTTM_ALIAS, index=DTTM_ALIAS,
columns=groups, columns=groups,