easy5 pts · first answer countspandasmissing-data
pandas mean with a missing value
What does this code print?
import pandas as pd import numpy as np s = pd.Series([1, np.nan, 3]) print(s.mean())
Discussion 0
Join free to post in the discussion.
Related questions
- Counting missing values in pandasData Scientist
- value_counts with normalizeData Scientist
- COUNT of a column with NULLsData Scientist
- Dates read as plain textData Scientist
- Keeping the latest row per emailData Scientist
- Sorting by city then by salesData Scientist
- Getting the weekday from a date columnData Scientist
- A random sample that repeatsData Scientist