日常

EXCEL

   
ALT+= 快速列求和sum
CTRL+ENTER 保持当前cell
Ctrl+A 自动选择表格
CTRL+ALV+V 选择性粘贴:转置
CTRL+T 转换为表
CTRL+Q 快速分析
F2 编辑
CTRL+1 单元格式
Ctrl + G 定位条件

快速填充:

   
  双击十字快速向下填充长列
CTRL+E 快速向下填充长列
CTRL+D 快速向下填充选中的cells
CTRL+R 快速向右填充选择的cells

宽表转长表:

这些应该作为一个年份字段,值应该为一个字段

image-20250515105747707

df=pd.read_excel('API_FI.RES.TOTL.CD_DS2_zh_csv_v2_98780.xlsx',sheet_name=1) # sheet_name指定第2个sheet
df_long = df.melt(
    id_vars=['Country Name', 'Country Code', 'Indicator Name', 'Indicator Code'], # 哪些列不变
    var_name='year', # 剩下列合并为year
    value_name='gold store' # 对应值的新字段
)
df_long.to_excel('long_format.xlsx') # 不能追加 只能自己创建

透视图:快速交互+分析

普通图:静态+自由美化

chrome

F6:移动光标到地址栏。

WSL

wsl –shutdown

wsl

docker

监控

docker-compose ps

firefox

webrtc

很多直播视频通过webrtc协议 做p2p,偷占宽带。

about:webrtc

image-20250416120251222

禁用webrtc

image-20250416120537698

成功关闭。

image-20250416120754997

results matching ""

    No results matching ""