print a value by index pandas code example
Example 1: pandas dataframe show one row
df.iloc[0,:]
Example 2: pandas print index
# Import pandas package
import pandas as pd
# making data frame
data = pd.read_csv("data.csv")
print(data.index)