Solved : You are trying to merge on object and datetime64[ns] columns

Johan Louwers
2 min readMar 22, 2021
Python Pandas

Trying to merge two Python Pandas dataframes resulted in an error stating that the merg on an object column and a datetime column was not allowed. Which is all honesty is making sense.

The error shown when trying to run the code is shown below;

ValueError: You are trying to merge on object and datetime64[ns] columns. If…

--

--

Johan Louwers

Johan Louwers is a technology enthousiasts with a long background in supporting enterprises and startups alike as CTO, Chief Enterprise Architect and developer.