Skip to content

Commit

Permalink
Fix pandas group by
Browse files Browse the repository at this point in the history
  • Loading branch information
jdddog committed Aug 2, 2023
1 parent da4a573 commit b6f972b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ def make_entities(entity_type: str, df_index: pd.DataFrame, df_data: pd.DataFram
total = len(df_index)

logging.info(f"Making entities: {entity_type}")
ts_groups = df_data.groupby([key_id])
ts_groups = df_data.groupby(key_id)

for entity_id, df_group in ts_groups:
# Exclude countries and institutions with small num outputs
Expand Down

0 comments on commit b6f972b

Please sign in to comment.