题解 | #用分位数分析牛客网用户活动#
用分位数分析牛客网用户活动
https://www.nowcoder.com/practice/23176901242f4842ae0d8ab3ac0df407
import pandas as pd df = pd.read_csv('Nowcoder.csv',sep=',') pd.set_option('display.width', 300) # 设置字符显示宽度 pd.set_option('display.max_rows', None) # 设置显示最大行 pd.set_option('display.max_columns', None) print(df[['Achievement_value','Continuous_check_in_days']].quantile(0.25)) print(df[['Num_of_exercise','Number_of_submissions']].quantile(0.75))