Question
I am looking for help with dataframe manipulation. I currently have the GWAS catalog in a dataframe (pictures below) and I need to make it
I am looking for help with dataframe manipulation. I currently have the GWAS catalog in a dataframe (pictures below) and I need to make it so that I can filter all the information where the column DISEASE/TRAIT has the value of "Alzheimer's disease". That being said, I don't know how to move these rows that contain this value in that column into a separate data frame so I can do data visualization on it.
This is what I have for setting the first data frame and the print statement to find the Alzheimer's disease attribute, but I cannot figure out how to move it into it's own data frame containing those 265 rows.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started