Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Luigi Dello Stritto committed Feb 7, 2025
1 parent 869b9fd commit b8c0830
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion machine_learning_hep/processer.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ def dfuse(df_spec):
if not is_numeric_dtype(dfs[base][on]):
self.logger.info('exploding dataframe %s on variable %s', base, on)
dfs[out] = dfmerge(
dfs[base].explode(on), dfs[ref], left_on=['df', on], suffixes=(f'_{base}', None), right_index=True)
dfs[base].explode(on), dfs[ref], left_on=['df', on], suffixes=(f'_{base}', None),
right_index=True)
else:
dfs[out] = dfmerge(
dfs[base], dfs[ref], left_on=['df', on], suffixes=(f'_{base}', None), right_index=True)
Expand Down

0 comments on commit b8c0830

Please sign in to comment.