pyspark.pandas.Index.dtype

財產 索引。 dtype

返回dtype底層數據的對象。

例子

> > >年代=ps係列([1,2,3])> > >年代dtypedtype (“int64”)
> > >年代=ps係列(列表(“abc”))> > >年代dtypedtype (“O”)
> > >年代=ps係列(pddate_range(“20130101”,=3))> > >年代dtypedtype (“< M8 (ns)”)
> > >年代重命名(“一個”)to_frame()set_index(“一個”)指數dtypedtype (“< M8 (ns)”)