Non-academic troubleshooting and skills
Tuesday, April 30, 2019
Get row names and column names for python pandas dataframe
In python you do:
yourdataframe.columns
yourdataframe.index
In R you do:
columnnames(yourdata.frame)
rownames(yourdata.frame)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment