mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(pandas-postprocessing): percentage compare to use correct column (#16716)
This commit is contained in:
@@ -513,7 +513,7 @@ class TestPostProcessing(SupersetTestCase):
|
||||
post_df.columns.tolist(), ["label", "y", "z", "percentage__y__z",]
|
||||
)
|
||||
self.assertListEqual(
|
||||
series_to_list(post_df["percentage__y__z"]), [0.0, -1.0, -4.0, -3],
|
||||
series_to_list(post_df["percentage__y__z"]), [0.0, -0.5, -0.8, -0.75],
|
||||
)
|
||||
|
||||
# `ratio` comparison
|
||||
|
||||
Reference in New Issue
Block a user