Skip to content
RED SAGSkills
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())
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions