Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
pandas drop a list of rows
outlawadventures
Programming language:
Python
2021-06-12 01:33:41
0
Q:
pandas drop a list of rows
El Ronnoco
Code:
Python
2021-06-20 12:20:38
df.drop(df.index[[1,3]], inplace=True)
0
Tags
row
list
rows
pandas
Related
pandas drop rows with value in list
drop a column pandas
drop a column in pandas
python code to drop columns from dataframe
how to sort subset of rows in pandas df
list of particular column in pandas dataframe
pandas drop all columns except certain ones
drop column dataframe
pandas dataframe remove rows by column value
remove row if all are the same value pandas
pandas dataframe drop rows with -ve in column value
pandas drop column in dataframe
remove all rows without a value pandas
drop a list of index pandas
drop a column from dataframe
pandas dataframe from list how to make the date column an index
New to Communities?
Join the community