CLN: Fix compile time warnings
- [x] passes `git diff upstream/master | flake8 --diff`

This commit suppresses these warnings

warning: implicit conversion from enumeration type\
'NPY_DATETIMEUNIT' to different enumeration type\
'PANDAS_DATETIMEUNIT' [-Wenum-conversion]
