【发布时间】:2022-09-30 06:13:35
【问题描述】:
我正在尝试在我的设备上运行 AutoClean 项目(这是我的代码):
import random
from AutoClean import AutoClean
import pandas as pd
def __init__(self, pipeline, resultat ):
self.pipeline = pipeline
self.resultat = resultat
resultat = pd.read_csv(r\"C:\\Users\\radia\\Downloads\\result-(11)-csv.csv\", profileUrl = \'str\', fullName = \'str\', firstName = \'str\', lastName = \'str\', profileImage = \'str\' , additionnalInfo = \'str\' , connectionDegree = \'str\', job = \'str\', location = \'str\', sharedConnections = \'str\', commonConnection1 = \'str\', url = \'str\', name = \'str\' , query = \'str\', category = \'str\', timestamp = \'NoneType\', commonConnection = \'str\', error = \'NoneType\')
pipeline = AutoClean(resultat, mode = \'manual\', duplicates = \'True\', missing_num = \'linreg\', missing_categ = \'auto\', encode_categ = \'False\', extract_datetime = \'auto\', outliers = \'delete\', outlier_param = \'1.5\', logfile = \'True\', verbose = \'True\')
for pipeline in self.pipeline:
print(pipeline.head())
但是我得到了这个异常并且无法理解为什么,特别是因为我从 3 天前开始测试这个并且从未得到它,所以我真的不明白
Une exception s\'est produite : ImportError
cannot import name \'manual_seed\' from \'torch\' (unknown location)
标签: python github repository