pandas.Series.name
- property Series.name
Return the name of the Series.
The name of a Series becomes its index or column name if it is used to form a DataFrame. It is also used whenever displaying the Series using the interpreter.
- Returns:
- label (hashable object)
The name of the Series, also the column name if part of a DataFrame.