Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jvivian committed Dec 7, 2023
1 parent b61c887 commit 62e154f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions covid19_drdfm/dfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def run_model(df: pd.DataFrame, state: str, outdir: Path): # -> sm.tsa.DynamicF
state (str): Two-letter state code to process
outdir (str): Output directory for model CSV files
Returns:
sm.tsa.DynamicFactor: Dynamic Factor Model
# Returns:
# sm.tsa.DynamicFactor: Dynamic Factor Model
"""
df = state_process(df, state)
Expand Down
2 changes: 1 addition & 1 deletion covid19_drdfm/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def diff_vars(df: pd.DataFrame, cols: list[str], log: bool = False) -> pd.DataFr
Args:
df (pd.DataFrame): Input DataFrame
vars (List[str]): List of columns to difference
cols (List[str]): List of columns to difference
log bool: Whether to take the log(difference) or not
Returns:
Expand Down

0 comments on commit 62e154f

Please sign in to comment.