I'm using pandas.read_excel()
to turn excel tables into dataframes to work with in Python. This tables contain date columns in the following format: 01Jun2018
.
When I run the instruction, the tables are turned into dataframes just fine. The issue comes from the fact that I'm currently working in Mexico where month abreviations are spelled in spanish. Because of this the date columns show some cells with the correct datetime-type info, but the cells which originally contain months that do not correspond to month names in spanish (for example: april != abril, January != Enero
) show the original strings. I need to do some operations with dates, so this columns must be datetime-type entirely.
I've tried switching the locale to en_US
but nothing happened.