Skip to content

Commit

Permalink
Add step to df if not set on dataframe
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Sep 28, 2023
1 parent 23e3fde commit 6aabcd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions traceml/traceml/events/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ def _read_jsonl(
# Pyarrow automatically converts timestamp fields
if "timestamp" in df.columns:
df["timestamp"] = df["timestamp"].astype(str)
if not hasattr(df, 'step'):
df['step'] = None
return df

@classmethod
Expand Down

0 comments on commit 6aabcd3

Please sign in to comment.