I've got a value that is of the type:
'pandas._libs.tslibs.timestamps.Timestamp'
but I want to convert it into:
'int'
Simply using int()
doesn't work and gives me the following error message:
int() argument must be a string, a bytes-like object or a number, not 'Timestamp'
Edit: to be clear, I only want the type to change to integral. However I want the number to stay the same.