Closes #8943:  COMPAT: periods needs coercion to np.int64

Let me know if this needs any work.