misikoff commited on
Commit
ec8644a
1 Parent(s): 983c3a7

fix: simplify processors more

Browse files
Files changed (1) hide show
  1. processors/helpers.py +2 -2
processors/helpers.py CHANGED
@@ -38,7 +38,7 @@ def coalesce_columns(
38
  return combined_df
39
 
40
 
41
- def get_df(
42
  df,
43
  exclude_columns,
44
  columns_to_pivot,
@@ -80,7 +80,7 @@ def handle_slug_column_mappings(
80
 
81
  for slug, col_name in slug_column_mappings.items():
82
  if slug in filename:
83
- cur_df = get_df(
84
  cur_df,
85
  exclude_columns,
86
  columns_to_pivot,
 
38
  return combined_df
39
 
40
 
41
+ def get_melted_df(
42
  df,
43
  exclude_columns,
44
  columns_to_pivot,
 
80
 
81
  for slug, col_name in slug_column_mappings.items():
82
  if slug in filename:
83
+ cur_df = get_melted_df(
84
  cur_df,
85
  exclude_columns,
86
  columns_to_pivot,