A table indexed by symbol is t = df.set_index("symbol"). | StemPy Lab