df
.
query
(
"index in ('Apple','Amazon')"
)
age
int64
market_cap
float64
Apple
46
2.42
Amazon
28
1.16
Hosted on
Deepnote