We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb60297 commit feaee7aCopy full SHA for feaee7a
1 file changed
malariagen_data/anoph/frq_base.py
@@ -386,7 +386,7 @@ def plot_frequencies_time_series(
386
# Build a long-form dataframe from the dataset.
387
dfs = []
388
for cohort_index, cohort in enumerate(df_cohorts.itertuples()):
389
- ds_cohort = ds.isel(cohorts=cohort_index)
+ ds_cohort = ds.isel(cohorts=cohort.Index)
390
df = pd.DataFrame(
391
{
392
"taxon": cohort.taxon,
0 commit comments