pandas how to show the whole series

with pd.option_context('display.max_rows', None, 'display.max_columns', None):  # more options can be specified also
    print(df)

Here is what the above code is Doing:
1. It’s creating a DataFrame from a dictionary.
2. It’s setting the index to the ‘name’ column.
3. It’s setting the ‘name’ column as the index.
4. It’s setting the ‘name’ column as the index, and dropping it from the DataFrame.