DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas df by row index
indices = [133, 22, 19, 203, 14, 1] df_by_indices = df.iloc[indices, :]
PREVIOUS
NEXT
Tagged:
#pandas
#df
#row
#index
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit