diff --git a/lib/questions_eval/hf_datasets/sub_mimoracle/_preprocessing.py b/lib/questions_eval/hf_datasets/sub_mimoracle/_preprocessing.py index 3ca9822..6657404 100644 --- a/lib/questions_eval/hf_datasets/sub_mimoracle/_preprocessing.py +++ b/lib/questions_eval/hf_datasets/sub_mimoracle/_preprocessing.py @@ -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)