Reuven M. Lerner @lernerpython.com · 26d

Retrieve from a #Python #Pandas data frame with .loc, which takes 2 arguments: 1. Row selector: index, list of indexes, or a mask index (i.e., booleans) 2. Optional column selector: column name or a list of column names .loc uses [] and not (), so you can use slices!

3 likes 0 replies

?