Skip to content

Commit

Permalink
Bug fix for Netflix#1023
Browse files Browse the repository at this point in the history
  • Loading branch information
valayDave committed Apr 28, 2022
1 parent 169ac15 commit 45c5a16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def _parse_pandas_dataframe(self, data_object, truncate=True):
if data[col].dtype == "datetime64[ns]":
data[col] = data[col].dt.strftime(time_format)

data = data.astype(object).where(data.notnull(), None)
data_vals = data.values.tolist()
for row, idx in zip(data_vals, index_column.values.tolist()):
row.insert(0, idx)
Expand Down

0 comments on commit 45c5a16

Please sign in to comment.