Learning pandas(Second Edition)
上QQ阅读APP看书,第一时间看更新

Retrieving values in a Series by label or position

Values in a Series can be retrieved in two general ways: by index label or by 0-based position. Pandas provides you with a number of ways to perform either of these lookups. Let's examine a few of the common techniques.