You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
other_keys gets stored differently in epi_df if you initialize it as a vector vs. a list. The epi_df constructor expects additional_metadata to be a list but passing a vector still "works" (i.e., no error). Examples are shown below for each case. The examples are taken from the as_epi-df reference.
Action items
as_epi-df
so thatadditional_metadata
is always alist()
type.as_epi_df
with multipleother_keys
Related to issue cmu-delphi/epipredict#114
The problem
other_keys
gets stored differently inepi_df
if you initialize it as a vector vs. a list. Theepi_df
constructor expectsadditional_metadata
to be alist
but passing avector
still "works" (i.e., no error). Examples are shown below for each case. The examples are taken from theas_epi-df
reference.Example 1
Output:
Example 2 (but ex3 from the as_epi_df documentation so we'll keep the names)
Output:
The text was updated successfully, but these errors were encountered: