mirror of
https://github.com/apache/superset.git
synced 2026-05-10 18:35:40 +00:00
chore: upgrade black (#19410)
This commit is contained in:
committed by
Ville Brofeldt
parent
1edd5f1343
commit
a70f4dc52f
@@ -48,7 +48,8 @@ def test_contribution():
|
||||
|
||||
# cell contribution across row
|
||||
processed_df = contribution(
|
||||
df, orientation=PostProcessingContributionOrientation.ROW,
|
||||
df,
|
||||
orientation=PostProcessingContributionOrientation.ROW,
|
||||
)
|
||||
assert processed_df.columns.tolist() == [DTTM_ALIAS, "a", "b", "c"]
|
||||
assert_array_equal(processed_df["a"].tolist(), [0.5, 0.25, nan])
|
||||
|
||||
Reference in New Issue
Block a user