pandas.Index.dtype# Index.dtype[源代码]# 返回底层数据的 dtype 对象。 Examples >>> idx = pd.Index([1, 2, 3]) >>> idx Index([1, 2, 3], dtype='int64') >>> idx.dtype dtype('int64')