Tracy Teal
07/11/2024, 9:55 PMJosé Morales
07/16/2024, 7:12 PMtz = df[time_col].<http://dt.tz|dt.tz>
, if that's not None
then it'll have a timezone objectMariana Menchero
07/16/2024, 7:13 PMMax
07/17/2024, 3:27 AMMariana Menchero
07/17/2024, 3:47 AMJosé Morales
07/17/2024, 5:11 PMFile "/root/api/utils/models.py", line 52, in fit
design_matrix_df = Y_df.merge(X_df, how="left", on=self.id_cols)
File "/usr/local/lib/python3.10/site-packages/pandas/core/frame.py", line 10832, in merge
return merge(
File "/usr/local/lib/python3.10/site-packages/pandas/core/reshape/merge.py", line 170, in merge
op = _MergeOperation(
File "/usr/local/lib/python3.10/site-packages/pandas/core/reshape/merge.py", line 807, in __init__
self._maybe_coerce_merge_keys()
File "/usr/local/lib/python3.10/site-packages/pandas/core/reshape/merge.py", line 1522, in _maybe_coerce_merge_keys
raise ValueError(msg)
ValueError: You are trying to merge on datetime64[ns] and datetime64[ns, UTC] columns for key 'ds'. If you wish to proceed you should use pd.concat
José Morales
07/17/2024, 5:24 PMMax
07/17/2024, 5:44 PMThere's no need to do all that manual work, we have the stacktraces here, the timezone error is most likely this:Those are the modal errors rigth? Quick question: do those stacktraces have a
requestID": "PK6SQAQTAW
field so either Tracy or someone else can match the reported error with the trace?Max
07/17/2024, 5:47 PMTracy Teal
07/17/2024, 5:49 PMTracy Teal
07/17/2024, 5:52 PMJosé Morales
07/17/2024, 6:09 PMazul (she/her) (nixtla)
07/18/2024, 3:55 PMJosé Morales
07/18/2024, 6:25 PMMariana Menchero
07/18/2024, 6:26 PMazul (she/her) (nixtla)
07/18/2024, 7:20 PM