上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 188 下一页
摘要: 下载https://github.com/mli/autocut 解压缩:pip install git+https://github.com/mli/autocut.git D:\c-理论\tool\autocut-main\autocut-main> python setup.py instal 阅读全文
posted @ 2023-03-19 20:26 myrj 阅读(183) 评论(0) 推荐(0)
摘要: import pandas as pd df=pd.read_excel('bb.xlsx') column = list(df.columns) for i in range(0, len(df)): print(df.iloc[i][column[0]],df.iloc[i][column[1] 阅读全文
posted @ 2023-03-19 14:57 myrj 阅读(922) 评论(0) 推荐(0)
摘要: import pandas as pd file=pd.read_excel('bb.xlsx') column = list(file.columns) for i in range(len(file)): x = [file.iloc[i][x] for x in range(len(colum 阅读全文
posted @ 2023-03-19 14:45 myrj 阅读(177) 评论(0) 推荐(0)
摘要: import pdfplumber import pandas as pd from PIL import Image pdf = pdfplumber.open("xue1.pdf") #Load page_0 p0 = pdf.pages[0] table = p0.extract_table( 阅读全文
posted @ 2023-03-19 12:13 myrj 阅读(33) 评论(0) 推荐(0)
摘要: * 加载一个Stata数据集 sysuse auto * 在Stata中执行Python代码 python: import pandas as pd import pymysql import stata_setup stata_setup.config("c:\python37\python.ex 阅读全文
posted @ 2023-03-19 07:27 myrj 阅读(73) 评论(0) 推荐(0)
摘要: //stata调用python,引用py文件中的函数 //stata中设置python路径 set python_exec d:\python37\python.exe //stata中调用python python //引入函数 from myfunction1 import add_number 阅读全文
posted @ 2023-03-18 10:35 myrj 阅读(294) 评论(0) 推荐(0)
摘要: MD5是一种不可逆的哈希算法,这意味着您不能直接从MD5哈希值“解密”出原始数据。然而,您可以尝试使用暴力破解或查找表(如彩虹表)来猜测原始数据。 暴力破解是一种尝试所有可能的输入组合,直到找到与给定哈希值匹配的输入的方法。这种方法在密码空间较小的情况下可能有效,但在密码空间较大的情况下可能非常耗时 阅读全文
posted @ 2023-03-17 18:27 myrj 阅读(3266) 评论(0) 推荐(0)
摘要: import hashlib def sha256_encrypt(data): sha256 = hashlib.sha256() sha256.update(data.encode('utf-8')) return sha256.hexdigest() data = "Hello, world! 阅读全文
posted @ 2023-03-16 22:17 myrj 阅读(215) 评论(0) 推荐(0)
摘要: webuse dollhill2, clear gen n = _n gen N = _N 如果想要统计各个不同的年龄段中共多少人吸烟: by age (smokes), sort: generate wgta=pyears[_N] . by age (smokes), sort: generate 阅读全文
posted @ 2023-03-15 15:51 myrj 阅读(232) 评论(0) 推荐(0)
摘要: clear input ID year var1 var2 var3 1 2006 34 45 65 1 2007 45 43 41 1 2007 3 56 59 1 2008 39 54 76 1 2009 41 57 68 end save "data00.dta", replace use " 阅读全文
posted @ 2023-03-15 10:14 myrj 阅读(161) 评论(0) 推荐(0)
上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 188 下一页