Open In App

Data-Analysis-fork-ds | Question 3

Q3. Consider the dataframe “df” , what is the result of the following operation df[‘price’] = df[‘price’].astype(int) ?

 



(A)

cast the row ‘price’ to an integer value



(B)

cast the column ‘price’ to an integer value

(C)

cast the entire dataframe to an integer value

Answer: (B)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :
Uncategorized