In the Python Pandas library, when you create a Series without providing an explicit index, Pandas automatically generates a default index.
This default index is always
numeric, starting at 0 and incrementing by 1 for each element.
For example:
import pandas as pd
s = pd.Series([100, 200, 300])
print(s)
Output:
0 100
1 200
2 300
dtype: int64
As shown, the index is
0, 1, 2.
This numeric index makes it easy to reference elements by their position.
String,
List, or
Boolean are not used by default as index types in a Pandas Series.
Therefore, the default index type is always
Numeric.