Skip to content

Commit

Permalink
Dataframe → Series[Any]
Browse files Browse the repository at this point in the history
  • Loading branch information
samcunliffe committed Dec 20, 2023
1 parent 4993bbc commit 850ddd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_sample_projects/pose_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def load_poses_from_dlc(file_path: Path) -> Optional[pd.DataFrame]:
return df


def save_poses_to_dlc(df: pd.DataFrame, file_path: Path):
def save_poses_to_dlc(df: pd.Series, file_path: Path):
"""Save pose estimation results to a DeepLabCut (DLC) .h5 file.
Also saves the poses to a .csv file with the same name.
Expand Down

0 comments on commit 850ddd3

Please sign in to comment.