随笔分类 - 数据挖掘
摘要:报错内容: C:\Opt\LjReport_client\venv\Scripts\python.exe C:\Opt\LjReport_client\auth_report_v2\analysis\bar_chart_analysis.py Traceback (most recent call
阅读全文
摘要:def cross_analysis(variable_list, table_name, sub_area): # print(variable_list) # data = cross_analysis(["TPWL", "TPEB", "TPTOPA"], data_all, area) #
阅读全文
摘要:背景:需要使用pyhanlp来解决提取关键词的工作(并且支持在win7上面使用) 环境要求很高啊 先说报错 C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-u617cfx3\jpype1\setup.py:173: FeatureNotice: Tu
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' from scipy.stats import chisquare import pandas as
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' from sklearn.decomposition import FactorAnalysis im
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import warnings from statsmodels.graphics.tsaplots
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import pandas as pd from sqlalchemy import create_e
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' from collections import Counter import pandas as pd
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' from sklearn.decomposition import PCA import numpy
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' from scipy.stats import ttest_ind, norm import pand
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' from scipy.stats import normaltest import numpy as
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import warnings warnings.filterwarnings("ignore") f
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import pandas as pd from sqlalchemy import create_e
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): ''' 载入模块 ''' import pandas as pd from sqlalchemy import create_engine ''' 连接数
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 导入模块 ''' import math import pandas as pd from sqlalchemy imp
阅读全文
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-# <editable>def execute(): # <editable> import pandas as pd import numpy as np import warnings warnings.fil
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> """ columns 特征 进行操作的所有列 """ def execute(): # <editable> ''' 载入模块 ''' import pandas as pd # i
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- def execute(): params = {"method": '', "columns": "score", "value": 20} inputs = {"table": 'test'} # <edi
阅读全文
摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import pandas as pd from sklearn.model_selection im
阅读全文
摘要:表堆叠主要是两个DataFrame进行数据合并 #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import pandas as pd from sq
阅读全文