Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 11, 2023
1 parent 81325ec commit 8c34008
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions notebooks/acro_demo_v2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,14 @@
}
],
"source": [
"acro.suppress=False\n",
"acro.crosstab(index=[df.parents,df.finance],columns=[df.recommend],values=df.children,aggfunc=\"mean\",margins='total')"
"acro.suppress = False\n",
"acro.crosstab(\n",
" index=[df.parents, df.finance],\n",
" columns=[df.recommend],\n",
" values=df.children,\n",
" aggfunc=\"mean\",\n",
" margins=\"total\",\n",
")"
]
},
{
Expand Down Expand Up @@ -693,7 +699,7 @@
}
],
"source": [
"_= acro.print_outputs()"
"_ = acro.print_outputs()"
]
},
{
Expand Down Expand Up @@ -772,7 +778,9 @@
}
],
"source": [
"acro.add_comments(\"cross_tabulation\", \"Suppression has been applied. Please let me have this data.\")"
"acro.add_comments(\n",
" \"cross_tabulation\", \"Suppression has been applied. Please let me have this data.\"\n",
")"
]
},
{
Expand All @@ -797,7 +805,7 @@
}
],
"source": [
"acro.add_exception(\"output_2\",\"This is evidence of systematic bias?\")"
"acro.add_exception(\"output_2\", \"This is evidence of systematic bias?\")"
]
},
{
Expand Down

0 comments on commit 8c34008

Please sign in to comment.