Skip to content

Commit

Permalink
Fixes #6: Don't fail when tables have no numeric data
Browse files Browse the repository at this point in the history
Signed-off-by: Aivin V. Solatorio <[email protected]>
  • Loading branch information
avsolatorio committed Mar 20, 2023
1 parent 311470a commit 043d8ab
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 043d8ab

Please sign in to comment.