Skip to content

Commit

Permalink
feat(corprep): add yaml configurations for saving dataframes
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 27, 2023
1 parent c468597 commit 5e5b235
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/corprep/conf/pipe/dataframe_save.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
defaults:
- __dataframe_external_funcs__
- /run: save_dataframes

pipe_obj_arg_name: data
return_pipe_obj: true
9 changes: 9 additions & 0 deletions src/corprep/conf/run/save_dataframes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_target_: hyfi.utils.datasets.DATASETs.save_dataframes
data:
data_file:
data_dir:
columns:
index: false
filetype: parquet
suffix:
verbose: ${oc.select:..verbose, false}

0 comments on commit 5e5b235

Please sign in to comment.