Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
dataframe get row by name
jim_nr
Programming language:
Python
2021-05-16 06:55:16
0
Q:
dataframe get row by name
suzumushiyh
Code:
Python
2021-03-01 17:44:06
row_data
= df.loc[
'a'
, : ]
1
Tags
name
get
row
frame
dataframe
Related
how to get a row from a dataframe in python
get number of rows pandas
pandas get first row
get number of rows in a pandas dataframe
how to get the column name pandas
Renaming row value in pandas
pandas df by row index
make first row column names pandas
New to Communities?
Join the community