Working with keys in Pandas Data Frame
<p>In R, Setkey can be used to work with keys and i.e. my data table gets sorted automatically when using aggregation functions. The R-Command I use is:
setkey(myData, “Customer”)</p>

<p>Does Python/Pandas also work with keys and Is there an equivalent for the R-Command?
Thanks a lot.</p>