# pandas.Series.ndim¶

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

## Examples¶

```
import numpy as np
import pandas as pd
from numba import njit
@njit
def series_ndim():
series = pd.Series(np.arange(10))
return series.ndim # Expect value: 1
print(series_ndim())
```

```
$ python ./series/series_ndim.py
1
```