我有一个这样的df: Country product date_install date_purchase id500 0 # people who installed but not purchased 或者更好的是: country installs yearly55 我试过了: df.groupby(['country','product']).count().sort_values(&
我已经将数据加载到具有多个列标题索引的dataframe中。目前,我一直在按列索引对数据进行分组,取组的平均值,计算95%的置信区间,如下所示:import pandas as pd
from scipy importNaN值,而如果组中有NaN,则this函数st.sem返回NaN。我试着计算95%<