df = pd.read_csv("C:/Users/16316/Desktop/PsychologyData/1.csv")
df_Male = df[df['Subgroup'] == 'Male']
df_Male
df_Male.index
df_Male.set_index("Week Label")
Indicator Group State Subgroup Week Value Low CI High CI Confidence Interval Quartile range
Week Label
Apr 23 - May 5 Symptoms of Depressive Disorder By Gender United States Male 1 20.8 19.6 22.0 19.6 - 22.0 NaN
Apr 23 - May 5 Symptoms of Anxiety Disorder By Gender United States Male 1 26.1 24.7 27.5 24.7 - 27.5 NaN
Apr 23 - May 5 Symptoms of Anxiety Disorder or Depressive Dis... By Gender United States Male 1 31.0 29.6 32.3 29.6 - 32.3 NaN
May 7 - May 12 Symptoms of Depressive Disorder By Gender United States Male 2 22.3 20.6 24.0 20.6 - 24.0 NaN
May 7 - May 12 Symptoms of Anxiety Disorder By Gender United States Male 2 26.7 24.9 28.5 24.9 - 28.5 NaN
May 7 - May 12 Symptoms of Anxiety Disorder or Depressive Dis... By Gender United States Male 2 31.4 29.5 33.3 29.5 - 33.3 NaN
May 14 - May 19 Symptoms of Depressive Disorder By Gender United States Male 3 22.1 21.0 23.3 21.0 - 23.3 NaN
How do I separate this data so it only shows data sorted by 'Male' and 'Symptoms of Depression disorder'. I only want to the rows with Male of Sympts. of Depression disorder to appear
I'm not sure if it's displayed correctly but the columns that I want are Subgroup Male, and Indicator Symptoms of depressive disorder
There's also 1000's of rows in the rest of the data