07 2025 档案
摘要:def control_sim(enable=True): if enable: command = "netsh interface set interface name=grantSim admin=enable" subprocess.run(command, shell=True) time
阅读全文
摘要:YM格式必须是 202501类似的整数, 首先根据上面的表新增一个日期表: 日期表 = VALUES('Sheet1'[ym]) 在主表里新增一个度量值, selected = VAR ym_selected = SELECTEDVALUE('日期表'[ym]) // 假设 '日期表' 是独立的日期
阅读全文
摘要:排1名 = VAR CurrentCategory = 'Sheet1'[大类] VAR CurrentSupplier = 'Sheet1'[供应商] VAR CurrentYearMonth = 'Sheet1'[年月] VAR CurrentAmount = 'Sheet1'[金额] RETU
阅读全文
摘要:Table = VAR TempTable = ADDCOLUMNS( 'Sheet1', "Rank", RANKX( FILTER('Sheet1', 'Sheet1'[id] = EARLIER('Sheet1'[id])), 'Sheet1'[date], , DESC, Dense ) )
阅读全文
摘要:import pandas as pd from grant.sql_connection import tellus_conn sql = r'''select a.uid,REGEXP_REPLACE(a.beizhu, '[\\x00-\\x1F\\x7F]', '') AS beizhu_c
阅读全文
摘要:平均数 = VAR CurrentYearMonth = '按月汇总表'[年月] VAR CurrentYear = INT(CurrentYearMonth / 100) VAR CurrentMonth = MOD(CurrentYearMonth, 100) VAR StartYearMont
阅读全文
摘要:1. 拉 docker pull mysql:8 docker pull postgres:17 docker pull redis:latest 2. 装 密码 root docker run -d ` --name mysql ` -p 3306:3306 ` -e MYSQL_ROOT_PAS
阅读全文
摘要:group name type date qty A grant male 2025/1/1 1 A edmond male 2025/1/2 2 A jush female 2025/1/3 3 B jella female 2025/1/4 4 B Hugs male 2025/1/5 5 C
阅读全文
摘要:直接windows下安装部署: https://blog.csdn.net/m0_52919859/article/details/148643913 用podman部署 (docker收费) 1. 安装podman (略) 2. 拉取 Ollama 镜像 podman pull ollama/ol
阅读全文
摘要:在格式代码框中输入:0;-0;"-" 或 #,##0;-#,##0;"-" 显示成M: 0,,.0M 显示K, #,##0,
阅读全文
摘要:VAR CurrentDate = TODAY() VAR LastYear = YEAR(CurrentDate) - 1 VAR CurrentMonth = MONTH(CurrentDate) VAR CurrentDay = DAY(CurrentDate) VAR IsLeapYear
阅读全文
浙公网安备 33010602011771号