Skip to content

Commit

Permalink
Merge pull request #7 from avsolatorio/fix-no-numeric-types
Browse files Browse the repository at this point in the history
Fixes #6: Don't fail when tables have no numeric data
  • Loading branch information
avsolatorio authored Mar 20, 2023
2 parents 311470a + 043d8ab commit bf1a38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realtabformer/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def process_data(
series.name = col_name
processed_series.append(series)

processed_df = pd.concat(processed_series, axis=1)
processed_df = pd.concat([pd.DataFrame()] + processed_series, axis=1)

if not processed_df.empty:
# Combine the processed numeric and datetime data.
Expand Down

0 comments on commit bf1a38e

Please sign in to comment.