Examples
By default, the product of an empty or all-NA Series is 1:
import numpy as np
import pandas as pd
pd.Series([]).product()
This can be controlled with the min_count parameter:
pd.Series([]).product(min_count=1)
pd.Series([np.nan]).product()
pd.Series([np.nan]).product(min_count=1)