All pandas problems
MediumCleaning
Handle missing values
You are given a smaller sales file with two missing revenue values. Fill NaN revenue with 0, then compute total revenue.
- #NaN
- #fillna
- #dropna
Sample input
4 rows, 2 with NaN revenue
Sample output
Total revenue: 50000
pd-missing.pyneeds: pandas
Output
Press "Run code" to execute.
