Skip to content

Commit

Permalink
Update bin/create_wordcloud.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <[email protected]>
  • Loading branch information
paulzierep and nsoranzo authored Aug 15, 2024
1 parent 1657ab2 commit cf59206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/create_wordcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def prepare_data(table_path: str, name_col: str, stat_col: str) -> Dict:
table[stat_col] = table[stat_col].fillna(value=0)

# create dictionary with key being the name and value the stat/counts
freq = pd.Series(table[stat_col].values, index=table[name_col]).to_dict() # type: Dict
freq: Dict = pd.Series(table[stat_col].values, index=table[name_col]).to_dict()

return freq

Expand Down

0 comments on commit cf59206

Please sign in to comment.