Keep consistent dtype and timezone when concatenating with NaT in pandas
Keep consistent dtype and timezone when concatenating with NaT in pandas Question: I have two pandas DataFrames containing time series that must be concatenated for further processing. One DataFrame contains localized timestamps while the other contains NaT in the time column. When concatenating, the column type changes from datetime64[ns] to object, hindering the further analysis. …