Question: If I want to create a new dataframe sliced from my existing dataframe df where any row with an entry in column value

If I want to create a new dataframe sliced from my existing dataframe "df" where any row with an entry in column "value" is removed, which of these would correctly create the new df?
1.
df[df.value.isnull()]
2.
df_2= df[df.value.isnull()]
3.
df_2= df.dropna()
4.
df_2= df[df['value']= isnull()]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!