December 2018
Beginner to intermediate
682 pages
18h 1m
English
Both .loc and .iloc work with Series and DataFrames. This recipe shows how to select Series data by integer location with .iloc and by label with .loc. These indexers not only take scalar values but also lists and slices.