Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
chore: rename argument
Browse files Browse the repository at this point in the history
  • Loading branch information
HLasse committed Feb 9, 2023
1 parent 9c7d959 commit af8af5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/psycop_feature_generation/loaders/raw/load_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,20 +163,20 @@ def load_aktuel_psykisk(

@data_loaders.register("load_note_types")
def load_arbitrary_notes(
note_names: Union[str, list[str]],
note_types: Union[str, list[str]],
n_rows: Optional[int] = None,
) -> pd.DataFrame:
"""Returns one or multiple note types from all years.
Args:
note_names (Union[str, list[str]]): Which note types to load. See
note_types (Union[str, list[str]]): Which note types to load. See
`get_all_valid_note_types()` for a list of valid note types.
n_rows (Optional[int], optional): Number of rows to load. Defaults to None.
Returns:
pd.DataFrame: (Featurized) notes
"""
return load_notes(
note_names,
note_types,
n_rows=n_rows,
)

0 comments on commit af8af5b

Please sign in to comment.