Question: df = pd . DataFrame ( np . random.standard _ normal ( ( 1 0 , 5 ) ) ) df . iloc [ :

df = pd.DataFrame(np.random.standard_normal((10,5)))
df.iloc[:4,1]= np.nan
df.iloc[:2,2]= np.nan
df
fillna in column 1 with 0.5, and fillna in column 2 with 0

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 Programming Questions!