import numpy as np import pandas as pd import matplotlib.pyplot as plt df=pd.DataFrame(np.random.randn(6,4),index=['one','two','three','four','five','six'],columns=pd.Index(['A','B','C','D'],name='Gnes')) df.columns Index(['A', 'B', 'C', 'D'], dtype=…