dios.
cast_to_itype
Cast a series (more explicit the type of the index) to fit the itype of a dios.
Return the casted series if successful, None otherwise.
Note
This is very basic number-casting, so in most cases, information from the old index will be lost after the cast.