December 2017
Intermediate to advanced
386 pages
10h 42m
English
The default behavior of the drop_duplicates method is to keep the first occurrence of each unique row, which would not drop any rows as each row is unique. However, the subset parameter alters it to only consider the column (or list of columns) given to it. In this example, only one row for each year will be returned. As we ...
Read now
Unlock full access