Pandas extract year from datetime column July 8, 2019 16 32 64 128 Extract month and year from datetime column pandas