Summarylinear_modellinear reggression model for predict data or fit some model.(多元)线性回归用于拟合数据,预测数据。logistic regression model for identification to cla
Django create projectdjango-admin startproject YourProjectNameDjango create apppython manage.py startapp YourAppNameDjango above modelsfrom django.db
目录LEGB规则global表达式属性引用与名字引用属性空间小结LEGB规则从Python2.2开始,由于引入了嵌套函数,所以最好的方式应该是内层函数找不到某个变量时先去外层函数找,而不是直接就跑到global空间里面找。
>>>a = '1'>>>print(a)1>>>b = '1'.zfill(2*4)>>>print(b)00000001
importpandasaspdimportdatetimeifname=='main':data1=pd.read_csv(r"W:\GUOPENGFA\fba_gross_require2020-03-2606-28-19.csv")data2=pd.read_csv(r&q