df.iloc[rows,columns] # numerical indexing df.loc[rows, columns] # Label based indexing df.loc[condition_mask,columns] # conditional masking df.iloc[:,:] # slicing df.loc[:,:] # slicing
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter