show_sectional_ic

czsc.show_sectional_ic(df, x_col, y_col, method='pearson', **kwargs)[source]

使用 streamlit 展示截面IC

Parameters:
  • df – pd.DataFrame,数据源

  • x_col – str,因子列名

  • y_col – str,收益列名

  • method – str,计算IC的方法,可选 pearson 和 spearman