Skip to content

Commit

Permalink
minor update, tidydraws replicator
Browse files Browse the repository at this point in the history
  • Loading branch information
AFg6K7h4fhy2 committed Dec 18, 2024
1 parent 0dd9616 commit 2a0f2b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notebooks/idata_to_tidy_draws.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def light_r_runner(r_code: str) -> None:
# use tidy_draws() on line
tidy_data <- line %>%
tidybayes::tidy_draws()
# print(tidy_data)
print(tidy_data)
"""

light_r_runner(r_code_example_from_docs)
Expand Down Expand Up @@ -178,8 +178,8 @@ def convert_idata_forecast_to_tidy(
idata_wod_pandas_df = idata_wo_dates.to_dataframe()
idata_wod_pols_df = pl.from_pandas(idata_wod_pandas_df)
# extract and rename relevant columns (
# i.e. those for chain, iteration, and
# posterior predictive without punctuation)
# i.e. those for chain, draw, and
# posterior predictive, without punctuation)
acceptable_cols = ["chain", "draw", "iteration", "posterior_predictive"]
relevant_cols = [
col
Expand Down

0 comments on commit 2a0f2b9

Please sign in to comment.