Skip to content

Commit

Permalink
ensure StringCatColumn's columns are strings before processing
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Aug 22, 2024
1 parent 2fc5604 commit a474edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/morpheus/morpheus/utils/column_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def _process_column(self, df: pd.DataFrame) -> pd.Series:
The processed column as a string Series.
"""

first_col = df[self.input_columns[0]]
first_col = df[self.input_columns[0]].astype(str)

return first_col.str.cat(others=df[self.input_columns[1:]].astype(str), sep=self.sep)

Expand Down

0 comments on commit a474edc

Please sign in to comment.