Skip to content

Commit 11d7828

Browse files
committed
Fix typo
1 parent 23e21de commit 11d7828

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ fig3.write_html('_static/familiarity_educational.html', full_html=False, include
172172
```{code-cell} ipython3
173173
:tags: [remove-input]
174174
175-
respondents_pct = df["QID13"].eq("Yes").mean()
175+
respondents_pct = float(round(100*df["QID13"].eq("Yes").mean(),2))
176176
glue("respondents_pct", respondents_pct, display=False)
177177
178178
# Text processing for word frequency analysis

0 commit comments

Comments
 (0)