摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import pandas as pd from sqlalchemy import create_e 阅读全文
posted @ 2021-03-03 20:15 我当道士那儿些年 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): ''' 载入模块 ''' import pandas as pd from sqlalchemy import create_engine ''' 连接数 阅读全文
posted @ 2021-03-03 20:13 我当道士那儿些年 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 导入模块 ''' import math import pandas as pd from sqlalchemy imp 阅读全文
posted @ 2021-03-03 20:11 我当道士那儿些年 阅读(82) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' from sklearn import preprocessing import pandas as 阅读全文
posted @ 2021-03-03 19:55 我当道士那儿些年 阅读(80) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python# -*- coding:utf-8 -*-# <editable>def execute(): # <editable> import pandas as pd import numpy as np import warnings warnings.fil 阅读全文
posted @ 2021-03-03 19:54 我当道士那儿些年 阅读(181) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> """ columns 特征 进行操作的所有列 """ def execute(): # <editable> ''' 载入模块 ''' import pandas as pd # i 阅读全文
posted @ 2021-03-03 19:53 我当道士那儿些年 阅读(76) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- def execute(): params = {"method": '', "columns": "score", "value": 20} inputs = {"table": 'test'} # <edi 阅读全文
posted @ 2021-03-03 19:52 我当道士那儿些年 阅读(94) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import pandas as pd from sklearn.model_selection im 阅读全文
posted @ 2021-03-03 19:45 我当道士那儿些年 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 表堆叠主要是两个DataFrame进行数据合并 #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import pandas as pd from sq 阅读全文
posted @ 2021-03-03 19:32 我当道士那儿些年 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 增加新的序列 #!/usr/bin/env python# -*- coding:utf-8 -*-# <editable>def execute(): # <editable> inputs = {"table": 'test', } params = { "left_columns": "id, 阅读全文
posted @ 2021-03-03 19:29 我当道士那儿些年 阅读(91) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python# -*- coding:utf-8 -*-# <editable>def execute(): # <editable> ''' 载入模块 ''' import sqlalchemy # import db_utils import pandas as p 阅读全文
posted @ 2021-03-03 19:25 我当道士那儿些年 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 表连接,主要表达两个DataFrame数据进行拼接 #!/usr/bin/env python # -*- coding:utf-8 -*- # <editable> def execute(): # <editable> ''' 载入模块 ''' import pandas as pd from 阅读全文
posted @ 2021-03-03 19:23 我当道士那儿些年 阅读(58) 评论(0) 推荐(0) 编辑