mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
chore: Update pre-commit packages (#23173)
This commit is contained in:
@@ -86,7 +86,13 @@ def test_flat_should_drop_index_level():
|
||||
df = pd.DataFrame(index=index, columns=columns, data=1)
|
||||
|
||||
# drop level by index
|
||||
assert pp.flatten(df.copy(), drop_levels=(0, 1,)).equals(
|
||||
assert pp.flatten(
|
||||
df.copy(),
|
||||
drop_levels=(
|
||||
0,
|
||||
1,
|
||||
),
|
||||
).equals(
|
||||
pd.DataFrame(
|
||||
{
|
||||
"__timestamp": index,
|
||||
|
||||
Reference in New Issue
Block a user