df.loc[['Apple','Amazon'],:]
ageint64
market_capfloat64

Apple

46

2.42

Amazon

28

1.16

Hosted onDeepnote