Skip to content

Commit

Permalink
chore: typo in function name
Browse files Browse the repository at this point in the history
Co-authored-by: RaphGardies <[email protected]>
  • Loading branch information
honghanhh and RaphGardies authored Nov 4, 2024
1 parent 8284158 commit a1e4202
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _resample(df: pd.DataFrame, n_sample: int, n_section: int) -> pd.DataFrame:
return df


def save_data_sampe(input_path: str, split: str, output_path: str):
def save_data_sample(input_path: str, split: str, output_path: str):
df = load_dataset(input_path, split=split).to_pandas()
df = _resample(df, 2, 6)
df.to_csv(output_path, index=False)
Expand Down

0 comments on commit a1e4202

Please sign in to comment.