Skip to content

Instantly share code, notes, and snippets.

@lakshay-arora
Created February 3, 2020 05:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lakshay-arora/6d85348048fd89f447b1e0100b53d125 to your computer and use it in GitHub Desktop.
Save lakshay-arora/6d85348048fd89f447b1e0100b53d125 to your computer and use it in GitHub Desktop.
# select rows with particular indexes and particular columns
data.iloc[[0,2],[1,3]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment