in chartify/_core/plot.py [0:0]
def _cast_datetime_axis(self, data_frame, column):
if self._chart._x_axis_type == "datetime":
if data_frame[column].dtype != "datetime64[ns]":
return data_frame.astype({column: "datetime64[ns]"})
return data_frame