bigframes.pandas.DatetimeIndex.ndim#

propertyDatetimeIndex.ndim:int#

Number of dimensions of the underlying data, by definition 1.

Examples:

>>>s=bpd.Series(['Ant','Bear','Cow'])>>>s0     Ant1    Bear2     Cowdtype: string
>>>s.ndim1

For Index:

>>>idx=bpd.Index([1,2,3])>>>idxIndex([1, 2, 3], dtype='Int64')
>>>idx.ndim1
Returns:

Number or dimensions.

Return type:

int

On this page

This Page