Skip to content

Commit

Permalink
MAINT: Fix example (mne-tools#12035)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Sep 30, 2023
1 parent e99ea74 commit d52a0d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/time_frequency/time_frequency_erds.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@

df_mean = (
df.query("time > 1")
.groupby(["condition", "epoch", "band", "channel"])[["value"]]
.groupby(["condition", "epoch", "band", "channel"], observed=False)[["value"]]
.mean()
.reset_index()
)
Expand All @@ -207,7 +207,6 @@
"channel",
"value",
"band",
n_boot=10,
cut=0,
palette="deep",
order=["C3", "Cz", "C4"],
Expand Down

0 comments on commit d52a0d3

Please sign in to comment.