Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unique column to output of the log_parsing pipeline #1795

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
retain the 'doc' index column from the incoming df, allowing the outp…
…ut to be validated between runs
  • Loading branch information
dagardner-nv committed Jul 3, 2024
commit 3e03a4be4646ea0090c9f3871c066810a6d34924
1 change: 1 addition & 0 deletions examples/log_parsing/postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def _postprocess(self, x: MultiResponseMessage):

# decode cleanup
parsed_df = self.__decode_cleanup(parsed_df)
parsed_df["doc"] = parsed_dfs.index
return MessageMeta(df=cudf.DataFrame.from_pandas(parsed_df))

def __get_label_dicts(self, row):
Expand Down