model =Pipeline()<sep>TypeError: __init__() missing 1 required positional argument: 'steps'


sklearn.preprocessing.StackingClassifier()<sep>NameError: name 'sklearn' is not defined


plt.plot(xlabel,ylabel)<sep>NameError: name 'xlabel' is not defined


rho = corr(df[column], df['y'])<sep>NameError: name 'corr' is not defined


x = list(map(int(input().split())))<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'


print(ab)<sep>NameError: name 'ab' is not defined


rho = corr(df[column], df['住宅価格'])<sep>NameError: name 'corr' is not defined


X = df[['year','month', 'week_num', 'temperature', 'remarks_num']]<sep>KeyError: "['week_num', 'remarks_num'] not in index"


a, b, c, d = map(int, print().split())<sep>AttributeError: 'NoneType' object has no attribute 'split'


X = train[["likes","dislike", "comment_count"]]<sep>KeyError: "['dislike'] not in index"


if d==11 or d==22 or d==33 ord==44:<sep>SyntaxError: invalid syntax (<ipython-input>, line 7)


for key, df_name in df.groupby('あん'):<sep>KeyError: 'あん'


continueif<sep>NameError: name 'continueif' is not defined


, 'CHEST PAIN']]<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


print(A, ' ', B)<sep>IndentationError: expected an indented block (<string>, line 16)


return(f(a(x-1)))<sep>TypeError: a() missing 1 required positional argument: 'N'


plt.scatter()<sep>TypeError: scatter() missing 2 required positional arguments: 'x' and 'y'


<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 3)


plt.scatter(df['部屋数'],df['住宅価格'],alpha=0,5,color='purple')<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 2)


bb=b[b.index[max()]]<sep>TypeError: max expected 1 arguments, got 0


math.floor<sep>NameError: name 'math' is not defined


A=N%10<sep>TypeError: not all arguments converted during string formatting


df.plt.scatter('降水量', 'スギ花粉飛散量')<sep>AttributeError: 'DataFrame' object has no attribute 'plt'


def calc(1+10): return float(s)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


m.append(s,t)<sep>TypeError: append() takes exactly one argument (2 given)


lives.shape(5,8)<sep>NameError: name 'lives' is not defined


print(BMI)<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)


X = df[['curry','temperature','kacal']]<sep>KeyError: "['kacal'] not in index"


X_train = train[["Sex", "parch", "Pclass"]]<sep>KeyError: "['parch'] not in index"


if α==a.upper():<sep>AttributeError: 'int' object has no attribute 'upper'


self.nume<sep>NameError: name 'self' is not defined


c.count()<sep>TypeError: count() missing 1 required positional argument: 'self'


rho = corr(df[column], df['犯罪率'])<sep>NameError: name 'corr' is not defined


plt.figure(figsize=13, 6)<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 1)


print(aaaa)<sep>NameError: name 'aaaa' is not defined


re.split('(..)',s)[1::1]<sep>NameError: name 're' is not defined


pirnt(S_s)<sep>NameError: name 'pirnt' is not defined


D=list(map(int,str,(d)))<sep>IndentationError: expected an indented block (<ipython-input>, line 3)


S2=S.replace(S[2],S[3])<sep>IndexError: string index out of range


print(a.find[S[x]])<sep>TypeError: 'builtin_function_or_method' object is not subscriptable


return a<sep>SyntaxError: 'return' outside function (<ipython-input>, line 2)


a = ferelibenterhominesidquodvoluntcredunt<sep>NameError: name 'ferelibenterhominesidquodvoluntcredunt' is not defined


a,b=map(input().split())<sep>TypeError: map() must have at least two arguments.


df=pd.read_csv("boston.csv")<sep>NameError: name 'pd' is not defined


print('BMI')print(BMI)<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)


c=collections.Counter(x)<sep>NameError: name 'collections' is not defined


c== sum(list(map(int, str(A))))<sep>NameError: name 'c' is not defined


kogi_login(class_name='atcoder')<sep>NameError: name 'kogi_login' is not defined


float(input('enter your weight by cm >> ')) = height<sep>SyntaxError: can't assign to function call (<ipython-input>, line 2)


y_pred = model.predict(X_train)<sep>NameError: name 'model' is not defined


A,B=(int,input()split<sep>SyntaxError: invalid syntax (<string>, line 3)


p = PersonW()<sep>TypeError: __init__() missing 3 required positional arguments: 'name', 'height', and 'weight'


model =RandomForestRegressor(),<sep>NameError: name 'RandomForestRegressor' is not defined


print MAX(A+B, A-B, A*B)<sep>SyntaxError: invalid syntax (<string>, line 8)


newdata[h-1] = BMI<sep>IndexError: list assignment index out of range


<sep>TypeError: load() missing 1 required positional argument: 'Loader'


h**2=22/w<sep>SyntaxError: can't assign to operator (<ipython-input>, line 2)


if(A+B=<4):<sep>SyntaxError: invalid syntax (<string>, line 9)


X = df[col[y],col[z]]<sep>KeyError: ('犯罪率', '緑地')


plt.scatter(df['築年']), df['住宅価格']<sep>TypeError: scatter() missing 1 required positional argument: 'y'


sns.kdeplot(,hue='性別', data=df)<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


b=b for j in range(3)<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)


print(Ratio(1,2).add(Ratio(1,3)))<sep>TypeError: add() missing 1 required positional argument: 'm'


X_train_numa_p = pd.read_csv('/drive/my-drive/nuna-chan/train_Numa_print.csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: '/drive/my-drive/nuna-chan/train_Numa_print.csv'


X = df[['低所得者','部屋数']]<sep>KeyError: "['低所得者'] not in index"


doc = nlp(text)<sep>NameError: name 'nlp' is not defined


train2 = pd.read_csv("train2.csv")<sep>FileNotFoundError: [Errno 2] No such file or directory: 'train2.csv'


print(い)<sep>NameError: name 'い' is not defined


p = PrsonD("かんな", 1999, 2, 3)<sep>NameError: name 'PrsonD' is not defined


Y.append(f(x))<sep>TypeError: 'int' object is not callable


retun 1 /(1 + x**2)<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 2)


BMI = w　/ ( h * h )<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 3)


cost2 = math.sqrt((h[1]-h[0])**2)<sep>IndexError: list index out of range


説明変数: Index(['犯罪率', '緑地', '工場', '川近', '大気汚染', '部屋数', '築年', '通勤',<sep>NameError: name 'Index' is not defined


mountains.sort(raverse=True)<sep>TypeError: 'raverse' is an invalid keyword argument for sort()


reverse(a)<sep>NameError: name 'reverse' is not defined


for i range(10):<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


def name(self):<sep>IndentationError: expected an indented block (<ipython-input>, line 7)


if (y==0:<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


X = df[['weather', 'tempersture']]<sep>KeyError: "['tempersture'] not in index"


if type((i-3k)/(3+4*k))==int:<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)


l=[int(input().split(" ")) for i in range(x)]<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'


X = df[['犯罪数']]<sep>KeyError: "None of [Index(['犯罪数'], dtype='object')] are in the [columns]"


c=[map(int,input().split() for _ in range(n)]<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


pd.pivot_table(df, index="血液型", columns="身長", values = "成年", aggfunc = "count")<sep>KeyError: '成年'


df = pd.read_csv('Jリーグ選手身長体重.csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'Jリーグ選手身長体重.csv'


pi+=((-1)**k)*(1/k)<sep>NameError: name 'k' is not defined


print("Hello World"<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)


if BMI  >=25.0<sep>SyntaxError: invalid syntax (<ipython-input>, line 7)


df=pd.read_csv("pollen.csv")<sep>FileNotFoundError: [Errno 2] No such file or directory: 'pollen.csv'


a = print(str("A", K))<sep>TypeError: str() argument 2 must be str, not int


print(お昼を食べに行きましょう)<sep>NameError: name 'お昼を食べに行きましょう' is not defined


if s[ i ] == 4 * a * b + 3 * a + 3 * b :<sep>IndexError: list index out of range


model = FecisionTreeRegressor()<sep>NameError: name 'FecisionTreeRegressor' is not defined


ｗ ＝46.4<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


D = list(map(int, str(d)))<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 4)


count(lives, x=1, y=1)<sep>NameError: name 'count' is not defined


dog=Dog('ハナ')<sep>NameError: name 'Dog' is not defined


df.scatterplot(x='降水量', y='スギ花粉飛散量')<sep>AttributeError: 'DataFrame' object has no attribute 'scatterplot'


T = (n-  l1 - l2) / ( B[ i ] + B[ - ( i + 2) ] )<sep>IndexError: list index out of range


def f(x):<sep>SyntaxError: invalid syntax (<ipython-input>, line 11)


train = alldata.query('train_or_test == "train"')<sep>NameError: name 'alldata' is not defined


return f'<img width="200" src="https://emoji-img.s3.ap-northeast-1.amazonaws.com/svg/1f986.svg"><sep>SyntaxError: EOL while scanning string literal (<ipython-input>, line 7)


ss.append(chr(a))  #リストに追加<sep>NameError: name 'ss' is not defined


if BMI > 25.00：<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


if N[i]<sep>SyntaxError: invalid syntax (<string>, line 6)


<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 4)


corr = df.corr()<sep>NameError: name 'df' is not defined


elif:<sep>SyntaxError: invalid syntax (<ipython-input>, line 5)


np.where(a < pibot)<sep>NameError: name 'pibot' is not defined


model = KNeighborsRegressor(max_depth=5)<sep>TypeError: __init__() got an unexpected keyword argument 'max_depth'


X_train = pd.get_dummies(train[['week', 'temperature']])<sep>NameError: name 'train' is not defined


Dog()<sep>TypeError: __init__() missing 1 required positional argument: 'name'


X = df_name, df[['df_weather']]<sep>KeyError: "None of [Index(['df_weather'], dtype='object')] are in the [columns]"


plt.show()<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)


v.append(s[k:n] + s[0:k])<sep>NameError: name 's' is not defined


integrate(x*log(x**2+1),(x,0,1)<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)


print(a[a.find(S[x])+N%26])<sep>TypeError: not all arguments converted during string formatting


for i in range(len(a)):<sep>NameError: name 'a' is not defined


s +=y*h<sep>NameError: name 's' is not defined


model = HuberRegressor()<sep>NameError: name 'HuberRegressor' is not defined


y+=x<sep>NameError: name 'y' is not defined


train_: (864, 6) y: (864,) test_ : (864, 6)<sep>SyntaxError: invalid syntax (<ipython-input>, line 13)


a=ord(c)+N<sep>NameError: name 'c' is not defined


N = float().input()<sep>AttributeError: 'float' object has no attribute 'input'


p.show()<sep>AttributeError: 'personW' object has no attribute 'show'


X.append(x)<sep>NameError: name 'X' is not defined


d= sum(D)<sep>TypeError: 'int' object is not callable


df4 = pd.merge(df1, df2, df3, on='名前', how='outer')<sep>TypeError: merge() got multiple values for argument 'how'


df = df.read_csv('pollen.csv')<sep>NameError: name 'df' is not defined


for key in Series:<sep>NameError: name 'Series' is not defined


C = (A−B)/3 + B<sep>SyntaxError: invalid character in identifier (<string>, line 3)


plt.plot(x='西暦', y='降水量')<sep>TypeError: plot got an unexpected keyword argument 'x'


if count[p][1] < count[p+1][1]:<sep>IndexError: list index out of range


if A[3]-A[2]==A[2]-A[1]:<sep>NameError: name 'A' is not defined


S[i]=input()<sep>IndexError: list assignment index out of range


p = PersonD("かんな",1999,2,3)<sep>TypeError: PersonD() takes no arguments


self.gen = func(*args, **kwds)<sep>KeyboardInterrupt:


if lens(N)==1:<sep>NameError: name 'lens' is not defined


n=int(N[2])<sep>IndexError: string index out of range


plt.hist(df'工場')<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


if BMI >== 25:<sep>SyntaxError: invalid syntax (<ipython-input>, line 8)


df.columns=columns<sep>IndentationError: unexpected indent (<ipython-input>, line 8)


def Fra(self.x, self.y):<sep>SyntaxError: invalid syntax (<ipython-input>, line 8)


X = df['通勤時間']  # ひとつ選ぶ<sep>KeyError: '通勤時間'


func(0)=1<sep>SyntaxError: can't assign to function call (<ipython-input>, line 2)


for w in range(40,100,5)<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)


ss.apend(chr(a)) #リストに追加<sep>AttributeError: 'list' object has no attribute 'apend'


sin(1)<sep>NameError: name 'sin' is not defined


def add(self.x):<sep>SyntaxError: invalid syntax (<ipython-input>, line 7)


<sep>TypeError: append() takes exactly one argument (2 given)


N,A,X,Y=map(int,input().split)<sep>TypeError: 'builtin_function_or_method' object is not iterable


N[0] = S<sep>NameError: name 'S' is not defined


X_train, X_test = X.ix[train_index,:], X.ix[test_index,:]<sep>AttributeError: 'DataFrame' object has no attribute 'ix'


df.head(pollen.csv)<sep>NameError: name 'df' is not defined


print("太りすぎ”)<sep>SyntaxError: EOL while scanning string literal (<ipython-input>, line 2)


n = format(N, x)<sep>NameError: name 'x' is not defined


C1=C[i-2]+abs(h[i]-h[i-2])<sep>IndentationError: expected an indented block (<string>, line 9)


for x in range(M):<sep>IndentationError: unexpected indent (<ipython-input>, line 5)


print S[j]<sep>SyntaxError: Missing parentheses in call to 'print'. Did you mean print(S[j])? (<string>, line 6)


plt.plot(df['降水量']), bins=1)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


a=int(A[i])<sep>IndexError: string index out of range


member.append(b)<sep>NameError: name 'b' is not defined


y = df['LUNG_CANCER_num']<sep>KeyError: 'LUNG_CANCER_num'


Pipeli<sep>NameError: name 'Pipeli' is not defined


https://atcoder.jp/contests/abc211/tasks/abc211_a<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


array(0.802,0.535,0.267)<sep>NameError: name 'array' is not defined


if s[h][i]=='.':<sep>IndexError: list index out of range


plt.scatter(x,y)<sep>NameError: name 'x' is not defined


df.sort_values('df['平均気温]').head(5)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


plt.scatter(df['部屋数'], df['住宅価格'], alpha=0.3)<sep>NameError: name 'df' is not defined


plt.hist(df['住宅価格']),bins=30<sep>SyntaxError: can't assign to function call (<ipython-input>, line 1)


df.drop('黒人', axis=1, inplace = True)<sep>KeyError: "['黒人'] not found in axis"


math.acos(np.dot(a,b)/(norm(a)*norm(b)))<sep>NameError: name 'math' is not defined


if BMI < 17.5<sep>SyntaxError: invalid syntax (<ipython-input>, line 7)


plt.figure(figuresize=(6, 6))<sep>TypeError: __init__() got an unexpected keyword argument 'figuresize'


if p[N] == X:<sep>NameError: name 'p' is not defined


df.head(sort_values('平均気温'))<sep>NameError: name 'sort_values' is not defined


c = Counter() #__init__が呼ばれて、初期化(コンストラクタ)<sep>NameError: name 'Counter' is not defined


else:<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


p.bmi<sep>AttributeError: 'PersonW' object has no attribute 'bmi'


intext.__len__()<sep>TypeError: __len__() missing 1 required positional argument: 'self'


Xlist(map(int,input().split()))<sep>NameError: name 'Xlist' is not defined


SS[0][1][2].append(0)<sep>IndexError: list index out of range


df['平均気温'].up(5)<sep>AttributeError: 'Series' object has no attribute 'up'


integrate(exp(-x**2),(x,-∞,∞))<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


c1 = [n-1,abs(h[n]-h[n-1])]<sep>IndexError: list index out of range


df.corr(method=' 降水量', 'スギ花粉飛散量')<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 1)


X = df['通勤', '教員']  # 説明変数<sep>KeyError: ('通勤', '教員')


S.append()<sep>TypeError: append() takes exactly one argument (0 given)


sklearn.metrics.mean_squared_error(df['平均気温'], model.predict(df['スギ花粉飛散量']))<sep>NameError: name 'sklearn' is not defined


if i[0]==i[1]:<sep>IndexError: list index out of range


'鶏肉とカシューナッツ炒め':4<sep>NameError: name 'f' is not defined


<sep>SyntaxError: invalid syntax (<unknown>, line 1)


list_S.append(S[i])<sep>NameError: name 'list_S' is not defined


X = df['部屋数','低所得率']<sep>KeyError: ('部屋数', '低所得率')


X = df[['weather_num']] #一つ選ぶ<sep>KeyError: "None of [Index(['weather_num'], dtype='object')] are in the [columns]"


df= pd.read('pollen.csv')<sep>AttributeError: module 'pandas' has no attribute 'read'


int main(void)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


pd.read_csv('file.xlsx', sep='\t')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'file.xlsx'


Female_Child_Group=df.loc[(df['FamilyGroup']>=2) & ((df['Age']<=16) | (df['Sex']=='female'))]<sep>KeyError: 'FamilyGroup'


c.appned(kai)<sep>AttributeError: 'list' object has no attribute 'appned'


a, b = reg1dim(x, y)<sep>NameError: name 'reg1dim' is not defined


print(<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 2)


S, T = string(input())<sep>NameError: name 'string' is not defined


print(i+1,j+1)<sep>IndentationError: expected an indented block (<string>, line 9)


X_test = test[["Pclass", "Sex", "Fare","Age","Embarked","Survived"]]<sep>KeyError: "['Survived'] not in index"


n = math.ceil(N/100)<sep>NameError: name 'N' is not defined


N,K = map(input().split())<sep>TypeError: map() must have at least two arguments.


hh = abs(h[n]-h[n-1])<sep>IndexError: list index out of range


pandas.set_option('bento.csv',None)<sep>NameError: name 'pandas' is not defined


C+=1 #この意味はC=C+1<sep>IndentationError: expected an indented block (<string>, line 12)


D=A-B<sep>SyntaxError: invalid syntax (<string>, line 4)


print("普通体重")<sep>IndentationError: expected an indented block (<ipython-input>, line 10)


df3=df3.drop('身長_y',axis=1,inplace=True)<sep>KeyError: "['身長_y'] not found in axis"


S, T =map(input().split())<sep>TypeError: map() must have at least two arguments.


(x**2 + x/sqrt(1+x**2)) * (1+(x/((1+ x**2) sqrt(1+x**2))))<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


form scipy.stats import pearsonr<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


model = RandomForestRegressor(max_depth=3)<sep>NameError: name 'RandomForestRegressor' is not defined


mi=[x for x in b if a[i]-ab<=ba[i]+ab]<sep>NameError: name 'ba' is not defined


d=1997112　#朔間零<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


import.math<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


newdata.append[]<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


print("MSE(テスト): ", mean_squared_error(y_test, y_pred) )<sep>NameError: name 'mean_squared_error' is not defined


A1=repeat(A*a)<sep>TypeError: repeat() missing 1 required positional argument: 'length'


(/if, BMI, >=)<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)


n.sort().reverse()<sep>AttributeError: 'NoneType' object has no attribute 'reverse'


plt.hist[df('スギ花粉飛散量')]<sep>TypeError: 'DataFrame' object is not callable


if X % 100 == 0:<sep>TypeError: not all arguments converted during string formatting


i.append(0)<sep>AttributeError: 'str' object has no attribute 'append'


rho = corr(df[column], df[column],df['住宅価格'])<sep>NameError: name 'corr' is not defined


plt.hist(df['西暦'], df['スギ花粉飛散量'], bins=20)<sep>TypeError: hist() got multiple values for argument 'bins'


A,B,C=map(input().split())<sep>TypeError: map() must have at least two arguments.


b=abs(int(a[i])-int(c[j]))<sep>IndexError: list index out of range


BMI = w / (h*hh*h)<sep>NameError: name 'w' is not defined


elif Y == 2:<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 14)


S, T = list(map(input().split()))<sep>TypeError: map() must have at least two arguments.


df=pd.read_csv('file.xlsx')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'file.xlsx'


A = list(map(int, input().split()))<sep>SyntaxError: invalid syntax (<string>, line 4)


ihead boston.csv<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


BMI=w /h＊＊2<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 3)


sklearn.metrics.mean_squared_error(X, model.predict(y))<sep>NameError: name 'sklearn' is not defined


class PersonW（object）:<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


model = TheilSenRegresso()<sep>NameError: name 'TheilSenRegresso' is not defined


model = DecisionTreeRegression()<sep>NameError: name 'DecisionTreeRegression' is not defined


mse = mean_squared_error(y, y_pred)<sep>NameError: name 'y_pred' is not defined


p = PersonW('Jecy', 184,69,0)<sep>TypeError: __init__() takes 1 positional argument but 5 were given


print(”Hello World")<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


print(''.sorted(int(A)))<sep>AttributeError: 'str' object has no attribute 'sorted'


else:<sep>IndentationError: expected an indented block (<ipython-input>, line 6)


X_train_pr_name, X_test_pr_name = train_test_split(df_pr_name,test_size = 0.3)<sep>NameError: name 'df_pr_name' is not defined


plt.plot(wights,newdata)<sep>NameError: name 'plt' is not defined


a = b * c + d<sep>NameError: name 'c' is not defined


print( A[ i ][ j ] )<sep>IndexError: list index out of range


df7.drop('チーム', axis=1, inplace=True)<sep>KeyError: "['チーム'] not found in axis"


S.sort(N)<sep>TypeError: sort() takes no positional arguments


print(w,2f)<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)


df.column<sep>AttributeError: 'DataFrame' object has no attribute 'column'


S[0],S[2] = S[2],SD[0]<sep>NameError: name 'SD' is not defined


if S[i] = '#':<sep>SyntaxError: invalid syntax (<string>, line 7)


int(A[1])<sep>IndexError: string index out of range


train_raw['Ticket'].head()<sep>NameError: name 'train_raw' is not defined


sub['disease'] = list(map(int, y_pred))<sep>NameError: name 'sub' is not defined


g1=a.sorted<sep>AttributeError: 'list' object has no attribute 'sorted'


X_train = train[["Age", "T_Bil", "D_Bil", "ALP", "ALT_GOT"]]<sep>KeyError: "['ALT_GOT'] not in index"


d = X.pop()　#Xから１枚とる<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


for i in ragne(K):<sep>NameError: name 'ragne' is not defined


X_test = test[[['Pclass','Sex', 'Age','Fare','Embarked']]<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)


M=8　　　#列数<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


d = (N-1-i)*A[i] - sum(A[i+1:])1<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)


parse_digit()<sep>NameError: name 'parse_digit' is not defined


A=string[1:]<sep>NameError: name 'string' is not defined


y_pred = model.predict(X_test)<sep>SyntaxError: invalid syntax (<ipython-input>, line 15)


for col df. columns:('住宅価格')<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


S, = ','.join()<sep>TypeError: join() takes exactly one argument (0 given)


stone_list=[garnet, amethyst, aquamarine, diamond, emerald, pearl, ruby, peridot,  sapphire, tourmaline, topaz, turquoise]<sep>NameError: name 'garnet' is not defined


x = int(map(int, input().split()))<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'map'


head()<sep>NameError: name 'head' is not defined


print(!head(pollen.csv))<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


while > = 10:<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


S.append(L)<sep>AttributeError: 'dict' object has no attribute 'append'


df=pd.read_csv('pollen.csv',context=5)<sep>TypeError: read_csv() got an unexpected keyword argument 'context'


ss.append(chr(a))<sep>NameError: name 'ss' is not defined


p.BMI()<sep>TypeError: 'int' object is not callable


X = df[['川辺']]<sep>KeyError: "None of [Index(['川辺'], dtype='object')] are in the [columns]"


model =RandomForestRegressor()<sep>NameError: name 'RandomForestRegressor' is not defined


df3.drop('身長_y',axis=1,inplace=True)<sep>KeyError: "['身長_y'] not found in axis"


accuracy_random_forest = accurancy_score(y_test, y_pred)<sep>NameError: name 'accurancy_score' is not defined


sns.set(font="IPAexGothic",bins=10)<sep>TypeError: set_theme() got an unexpected keyword argument 'bins'


x=4*a*b+3(a+b)<sep>TypeError: 'int' object is not callable


x = ayayayayaya<sep>NameError: name 'ayayayayaya' is not defined


return d<sep>SyntaxError: 'return' outside function (<ipython-input>, line 7)


model = BaggingRegressor(max_depth=3)<sep>NameError: name 'BaggingRegressor' is not defined


A.replace(X," ")<sep>AttributeError: 'list' object has no attribute 'replace'


C+=1<sep>IndentationError: expected an indented block (<string>, line 10)


math.sqrt(A)<sep>NameError: name 'A' is not defined


plt.boxplot["部屋数"]<sep>TypeError: 'function' object is not subscriptable


print("Hello World"）<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


print(f'正解率(訓練)', model.score(X_train, y_train))<sep>NameError: name 'y_train' is not defined


random.shuffle(T)<sep>NameError: name 'random' is not defined


df.info()<sep>NameError: name 'df' is not defined


animals=[Sheep(),Sheep(),Sheep(),Dog('ピキ'),Dog('ハナ',Kitty('楓太'),Kitty('小梅'))]<sep>TypeError: __init__() takes 2 positional arguments but 4 were given


if BMI＞25.00:<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


https://atcoder.jp/contests/abc269/tasks/abc269_a<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


N = int(input()）<sep>SyntaxError: invalid character in identifier (<string>, line 2)


X = df[df2.columns[:-1]]  # 価格以外を全て説明変数に<sep>KeyError: "['in', 'or', 'あん', 'いか', 'うどん', 'おろ', 'かじき', 'かつ', 'から', 'きのこ', 'くり', 'ごね', 'ご飯', 'さっ', 'さわら', 'さん', 'さんま', 'しゃぶ', 'すき焼き', 'たっぷり', 'ぬき', 'ねぎ', 'ひやし', 'ひれ', 'ぶり', 'ます', 'やわらか', 'アジ', 'イカ', 'エビ', 'カキフライタルタル', 'カシュー', 'カッシュナッツ', 'カツ', 'カルビ', 'カレイ', 'カレー', 'キス', 'キムチ', 'キャベツ', 'キーマカレー', 'クノーデル', 'クリ', 'クリーミ', 'クリーム', 'クリームチーズ', 'コロッケ', 'コーン', 'ゴーヤチャンプルー', 'サバ', 'サム', 'サーモン', 'サーモンフライ', 'シチュー', 'シャブ', 'ジャンボチキンカツ', 'ジューシーメンチカツ', 'ジョン', 'スイートチリソース', 'スキヤキ', 'スタミナ', 'ステーキ', 'ソテー', 'ソース', 'ソーセージ', 'タルタル', 'タンドリーチキン', 'チキン', 'チキンクリームシチュー', 'チャプチェ', 'チリ', 'チンジャオロース', 'チーズ', 'チーズメンチカツ', 'デミ', 'トマト', 'トンカツ', 'ナッツ', 'ニンニク', 'ハムカツ', 'ハヤシ', 'ハンバーグ', 'ハンバーグカレーソース', 'ハンバーグケッチャップソース', 'ハンバーグデミソース', 'バター', 'バーベキュー', 'ヒレ', 'ビッグメンチカツ', 'ビュッフェ', 'ビーフ', 'ビーフカレー', 'ビーフストロガノフ', 'ピザ', 'ピリ', 'フライ', 'フライタルタル', 'フリカッセ', 'プルコギ', 'ベーコン', 'ホタテ', 'ボローニャ', 'ポーク', 'マスタード', 'マヨ', 'マーボ', 'ムシチュー', 'ムニエル', 'メダイ', 'メンチ', 'ランチ', 'レモンペッパー', 'ロコモコ', 'ロース', '中華', '串カツ', '五目', '入り', '切り', '南蛮', '南部', '名古屋', '味噌', '和風', '団子', '天ぷら', '山賊', '御飯', '手作り', '掛け', '揚げ', '梗菜牛', '洋食', '海老', '添え', '漬け', '炊き込み', '炒め', '焼き', '焼き肉', '照り', '牛肉', '玉子', '甘味噌', '甘辛', '甘酢', '生姜', '白身', '筑前', '肉じゃが', '胡麻', '茄子', '親子', '豆腐', '豚肉', '越冬', '辛味', '辛味噌', '酢豚', '野菜', '韓国'] not in index"


print(corr(df['築年'],df['住宅価格']))<sep>NameError: name 'corr' is not defined


a+b+c<=S and a*b*c<=T<sep>IndentationError: expected an indented block (<string>, line 9)


n=math.ceil(n/100)<sep>NameError: name 'n' is not defined


y_test = test["disease"]<sep>KeyError: 'disease'


cross_val_score(モデル, X, y, cv=5, scoring='r2')<sep>NameError: name 'cross_val_score' is not defined


print(H.index(index(hashi)))<sep>NameError: name 'index' is not defined


n=len(A)//2<sep>NameError: name 'A' is not defined


a=x[len[x]-1]<sep>TypeError: 'builtin_function_or_method' object is not subscriptable


X = df[['weather_num','precipiation_num']]<sep>KeyError: "['precipiation_num'] not in index"


plt.hist(alldata.Ticket.value_counts())<sep>NameError: name 'alldata' is not defined


plt.plot(log.loss_curve_)<sep>NameError: name 'log' is not defined


rls.to_csv("result.csv", index=False)<sep>NameError: name 'rls' is not defined


plt.plot(df['西暦'],de['降水量'])<sep>NameError: name 'de' is not defined


a(0)=1<sep>SyntaxError: can't assign to function call (<ipython-input>, line 2)


a=S[-n:]<sep>NameError: name 'n' is not defined


pollen.mean(df['平均気温'])<sep>NameError: name 'df' is not defined


print ('体重', w '身長', h)<sep>SyntaxError: invalid syntax (<ipython-input>, line 5)


for col in df columns:<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


print('Takahashi')<sep>SyntaxError: invalid syntax (<string>, line 5)


print('相関係数：',r)<sep>NameError: name 'r' is not defined


vec[i][w]+=wa2.count(word(w))<sep>IndexError: list index out of range


scipy.stats.kstest(, 'norm')<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


int num reversed(int original)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


(x-1)*(x+2)-12*15=0<sep>SyntaxError: can't assign to operator (<ipython-input>, line 1)


ｖ<sep>NameError: name 'v' is not defined


for col in df.colums:<sep>AttributeError: 'DataFrame' object has no attribute 'colums'


X = df['tempoture'] #一つ選ぶ<sep>KeyError: 'tempoture'


print(a.split())<sep>AttributeError: 'list' object has no attribute 'split'


>>>np.linalg.norm(X, ord = 0)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


k[0]=S[1]<sep>NameError: name 'k' is not defined


x = log(n)<sep>NameError: name 'log' is not defined


plt.hist(df['住宅価格']),bins=20<sep>SyntaxError: can't assign to function call (<ipython-input>, line 1)


h.appned(r)<sep>AttributeError: 'list' object has no attribute 'appned'


X_train_numa_p = pd.read_csv('my-drive/nuna-chan/train_Numa_print.csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'my-drive/nuna-chan/train_Numa_print.csv'


for i in range(b)):<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


n[0], n[4] = n[4], n[0]<sep>IndexError: list index out of range


print C =(((A-3)/3) + B)<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


y_pred = clf.predict(X_test)<sep>NameError: name 'X_test' is not defined


n = name<sep>NameError: name 'name' is not defined


ascending(df['平均気温'])<sep>NameError: name 'ascending' is not defined


model.fit('平均気温', '杉花粉')<sep>NameError: name 'model' is not defined


df['犯罪率',"住宅価格"]<sep>KeyError: ('犯罪率', '住宅価格')


sns.scatterplot(data=df, x='pc1', y='pc2', hue='label')<sep>NameError: name 'df' is not defined


e**x<sep>NameError: name 'e' is not defined


50 <= B <= A ＜＝300<sep>SyntaxError: invalid character in identifier (<string>, line 3)


plt.plot(x=df['西暦'], y=df['降水量'])<sep>TypeError: plot got an unexpected keyword argument 'x'


plt.plot(range(len(predict_list)), predict_list , label='Predicted')<sep>NameError: name 'predict_list' is not defined


plt.scatter(df['部活'], df['勉強時間'], alpha=0.5)<sep>KeyError: '勉強時間'


sns.histplot(df['スギ花粉飛散量'],df['平均気温'])<sep>TypeError: histplot() takes from 0 to 1 positional arguments but 2 were given


if X%100==0 and Xn==0:<sep>NameError: name 'Xn' is not defined


sns.countplot(x='G3',hue='性別', data=df, color="#ffadad","#87CEFA")<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 2)


s. sorted(s)<sep>AttributeError: 'list' object has no attribute 'sorted'


plt.hist(スギ花粉飛散量)<sep>NameError: name 'スギ花粉飛散量' is not defined


w＝ 42<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


elif B==c:<sep>NameError: name 'c' is not defined


df.drop('平均気温',axis=1,head(5))<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 1)


summ+=(1/n)<sep>NameError: name 'n' is not defined


i += 1<sep>IndentationError: unexpected indent (<ipython-input>, line 33)


if A[H][W]+A[H+1][W+1]>A[H+1][W]+A[H][W+1]:<sep>IndexError: list index out of range


for w in range(40, 100. 5):<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


print('🐣',end='')<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 8)


plt.scatter(df['犯罪率'],df['低所得率'],alpha=0.5,color='green')plt.xlim(0,0.1)<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


BMI >= 18.50:<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)


y+=d<sep>NameError: name 'd' is not defined


c=x.a<sep>AttributeError: 'int' object has no attribute 'a'


print(A[i])<sep>IndexError: list index out of range


print(i,j)<sep>IndentationError: expected an indented block (<string>, line 15)


print(m.ceil((Y-X)/10))<sep>NameError: name 'm' is not defined


null_val = df.isnull().sum()<sep>IndentationError: expected an indented block (<ipython-input>, line 2)


model.fit('平均気温', 'スギ花粉飛散量')<sep>NameError: name 'model' is not defined


if int(S[2])==3:<sep>IndexError: string index out of range


print((a*d)-(c:b))<sep>SyntaxError: invalid syntax (<string>, line 4)


a=[a,s,c]<sep>NameError: name 'a' is not defined


r#ound("n" ,num1)<sep>NameError: name 'r' is not defined


print(df[母学歴].value_counts())<sep>NameError: name '母学歴' is not defined


b = (50.0, 100.0 * math.sin(th))<sep>NameError: name 'th' is not defined


a += (1/((2*n)-1)) * ((-1)**(n+!))<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)


df.stats.pearsonr('降水量', 'スギ花粉飛散量')<sep>AttributeError: 'DataFrame' object has no attribute 'stats'


summ+=(1/num)<sep>NameError: name 'summ' is not defined


for column2 in df.column[:-1]:<sep>AttributeError: 'DataFrame' object has no attribute 'column'


pd.pivot_table(df, index="血液型" , colums="身長")<sep>TypeError: pivot_table() got an unexpected keyword argument 'colums'


if janken()<sep>SyntaxError: invalid syntax (<ipython-input>, line 35)


np.random.<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


i.append('0')<sep>AttributeError: 'str' object has no attribute 'append'


plt.figure(figsize=(7, 7))<sep>NameError: name 'plt' is not defined


s[:pos], pos[pos+1:] => rpartition<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


df= read_csv('pollen.csv', sep=',')<sep>NameError: name 'read_csv' is not defined


sorted(df['平均気温']).ascend()<sep>AttributeError: 'list' object has no attribute 'ascend'


train['area'] = le.fit_transform(train['area'])<sep>KeyError: 'area'


df３.drop('身長_y', axis=1, inplace=True)<sep>KeyError: "['身長_y'] not found in axis"


A, B = map(int,input().split())<sep>KeyboardInterrupt:


r,p=pearsonrr(df[column],df['G3'])<sep>NameError: name 'pearsonrr' is not defined


x=random.random()<sep>NameError: name 'random' is not defined


X_train = X_train_c1_a_05[[ 'p', 'r', 'i', 'n', 't', 'Shift', '(' ]]<sep>KeyError: "None of [Index(['p', 'r', 'i', 'n', 't', 'Shift', '('], dtype='object')] are in the [columns]"


c.add(c2)#c2のカウントを足す<sep>AttributeError: 'Counter' object has no attribute 'add'


sns.boxplot(x=df['学校名'], y=df['最終成績'], order=order_by)<sep>KeyError: '最終成績'


print(sep(x))<sep>NameError: name 'sep' is not defined


X_train, X_test, y_train, y_test = train_test_split(X, y,test_size=10000, random_state=0,<sep>NameError: name 'X' is not defined


sum(n)+=i<sep>SyntaxError: can't assign to function call (<ipython-input>, line 3)


procedure bubbleSort( A : list of sortable items ) defined as:<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


N=n.replace('1','9')<sep>AttributeError: 'int' object has no attribute 'replace'


if l[2*i]>l[2*i+1]:<sep>IndexError: list index out of range


ans = min(ans, abs(Ai-B[j]), abs(Ai-B[j+1]))<sep>IndexError: list index out of range


plt.hist(df['住宅価格'],bin=20)<sep>AttributeError: 'Rectangle' object has no property 'bin'


df6.drop('生年月日','ポジション','背番号','投', axis=1, inplace=True)<sep>TypeError: drop() got multiple values for argument 'axis'


aa=a.sorted()<sep>AttributeError: 'list' object has no attribute 'sorted'


def __init__(self, name height, weight):<sep>SyntaxError: invalid syntax (<ipython-input>, line 5)


df.drop('datetime', axis=1, inplace=True)<sep>KeyError: "['datetime'] not found in axis"


if X[i] == X[i+1]:<sep>IndexError: list index out of range


df['住宅価格'].descrie()<sep>AttributeError: 'Series' object has no attribute 'descrie'


X_train = train[['Sex', 'Age', 'Fare','SibSp','Pclass','parch']]<sep>KeyError: "['parch'] not in index"


plt.scatter(df['降水量'], df['スギ花粉飛散量'])<sep>NameError: name 'df' is not defined


X = ['Pclass', 'Age', 'Sex', 'SibSp', 'Parch', 'Fare'].values<sep>AttributeError: 'list' object has no attribute 'values'


df = pd.DataFrame({'PassengerId','sex': test['PassengerId'<'sex'], 'Survived': y_pred})<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


X = df[[[column],[column]]]<sep>KeyError: "None of [Index([('犯罪率',), ('犯罪率',)], dtype='object')] are in the [columns]"


train = train.drop([ "PassengerId"] , axis = 1)<sep>KeyError: "['PassengerId'] not found in axis"


s[:pos], pos[pos+1:] => rpartition<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


print(c[j][i])<sep>IndexError: list index out of range


for n in range(100,1000,10)<sep>SyntaxError: invalid syntax (<string>, line 3)


df = pd.concat([train_df, test_df], ignore_index=True)<sep>NameError: name 'train_df' is not defined


X_test = test['Pclass','Sex', 'Age','Fare','Embarked']<sep>KeyError: ('Pclass', 'Sex', 'Age', 'Fare', 'Embarked')


print(no.array(scores).mean())<sep>NameError: name 'no' is not defined


plt.hist(df["文字数"])<sep>NameError: name 'df' is not defined


X = df[['temperature', 'curry','month','week_num','weather_num','kcal','day','otanoshimi','soldout','name_num','payday','event_num','pceipitation_num']]<sep>KeyError: "['pceipitation_num'] not in index"


else<sep>SyntaxError: invalid syntax (<string>, line 5)


animals = [Chikin(), Penguin(), Sheep(), Dog('Hachi')]<sep>TypeError: __init__() missing 1 required positional argument: 'name'


print(pi*4)<sep>NameError: name 'pi' is not defined


print("MSE: ", mean_squared_error(_test, y_pred))<sep>NameError: name '_test' is not defined


BMI＝w/(h * h)<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 3)


class Dog(onject):<sep>NameError: name 'onject' is not defined


print(col)<sep>NameError: name 'col' is not defined


データフレームをcsvファイルに保存<sep>NameError: name 'データフレームをcsvファイルに保存' is not defined


n = map(int(input().split()))<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'


k_l.append([i.j])<sep>AttributeError: 'str' object has no attribute 'j'


X_train = X_train_all[sample_list]<sep>KeyError: "None of [Index([('ArrowRight', 'ArrowRight'),          ('ArrowRight', '='),\n                ('ArrowRight', 'h'),      ('ArrowRight', 'SPACE'),\n                ('ArrowRight', 'b'),          ('ArrowRight', 'r'),\n                ('ArrowRight', ','),          ('ArrowRight', 'g'),\n                ('ArrowRight', 'm'),          ('ArrowRight', ']'),\n       ...\n                         (')', 'f'),                   (')', '0'),\n                         (')', '['),                   (')', 'y'),\n                         (')', 'c'),                   (')', 't'),\n                         (')', 'x'),           (')', 'Backspace'),\n                         (')', 'n'),                   (')', ')')],\n      dtype='object', length=1600)] are in the [columns]"


n+=int(i)-int(min(A))<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'


A < 300<sep>NameError: name 'A' is not defined


for i in range(l[N][0], l[N][1]):<sep>IndexError: list index out of range


print(token)<sep>NameError: name 'token' is not defined


prin(ans)<sep>NameError: name 'prin' is not defined


scipy.stats.pearsonr(df['降水量'], df['スギ花粉飛散量'])<sep>NameError: name 'scipy' is not defined


if i!=int(min(A)):<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'


x = chr(p[i] + 26)<sep>IndexError: list index out of range


>>>出力結果<sep>SyntaxError: invalid syntax (<ipython-input>, line 5)


plt.figure(figsize=15,15)<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 1)


index(a.min())<sep>NameError: name 'index' is not defined


A.sort()<sep>NameError: name 'A' is not defined


if x%2==0:<sep>IndentationError: expected an indented block (<ipython-input>, line 2)


plt.plot(x='西暦',y='降水量')<sep>TypeError: plot got an unexpected keyword argument 'x'


x+=A[i]<sep>NameError: name 'x' is not defined


PersonW.info()<sep>TypeError: info() missing 1 required positional argument: 'self'


moji = chr(P[j+97])<sep>IndexError: list index out of range


if s[-3]==i:<sep>NameError: name 'i' is not defined


N.instert(0,0)<sep>AttributeError: 'str' object has no attribute 'instert'


X_train_numa_p = pd.read_csv("/Users:/shion/Desktop/OJT/numa-chan/train_Numa_print.csv")<sep>FileNotFoundError: [Errno 2] No such file or directory: '/Users:/shion/Desktop/OJT/numa-chan/train_Numa_print.csv'


df4 = pd.merge(df, df2, df3, on=('身長', '体重'), how='outer')<sep>TypeError: merge() got multiple values for argument 'how'


a.remove(k)<sep>NameError: name 'k' is not defined


平均値＝df['通勤'].mean()<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


D=A−B<sep>SyntaxError: invalid character in identifier (<string>, line 4)


df.drop('ポジション',axis=1,inplsce=True)<sep>TypeError: drop() got an unexpected keyword argument 'inplsce'


print(x"は偶数です")<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


S, T = map(str, input().split())<sep>KeyboardInterrupt:


if (S[2*i-1].isupper() or S[2*i].islower()) and 2*i-1<=len(S):<sep>IndexError: string index out of range


scpiy.stats.pearsonr('降水量', 'スギ花粉飛散量')<sep>NameError: name 'scpiy' is not defined


b=A[e]<sep>IndexError: list index out of range


show(lives)<sep>NameError: name 'show' is not defined


print(AB)<sep>NameError: name 'AB' is not defined


df('犯罪率')<sep>TypeError: 'DataFrame' object is not callable


X = df[['資産','築年']]<sep>KeyError: "['資産'] not in index"


r=corr(df[col],df.['G3'])<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


test['Sex'] = test['Sex'].map(int(){'male':0, 'female':1})<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


plt.plot(h,weight,label="BMI18")<sep>NameError: name 'weight' is not defined


df = pd.read_csv("file.tsv")<sep>NameError: name 'pd' is not defined


l=print(str(m.replace('1','9')))<sep>AttributeError: 'NoneType' object has no attribute 'replace'


a,b,c,d=map(int,input.split())<sep>AttributeError: 'function' object has no attribute 'split'


hanoi(4, x, y, z)<sep>NameError: name 'x' is not defined


while i<n:<sep>NameError: name 'n' is not defined


S.add(L)<sep>AttributeError: 'dict' object has no attribute 'add'


if A==B:<sep>SyntaxError: invalid syntax (<string>, line 3)


mount[a] = int(b)<sep>NameError: name 'mount' is not defined


print(f'{int(d[y,x]):3d}', end=' ')<sep>NameError: name 'd' is not defined


X = ','. joined(ST)<sep>AttributeError: 'str' object has no attribute 'joined'


k=int(print())<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'


'N'='list'(map(int,input().split()))<sep>SyntaxError: can't assign to literal (<string>, line 2)


plt.scatter(df['部屋数'],df['住宅価格'],alpha=0.5,cplor=purple)<sep>NameError: name 'purple' is not defined


df.read_csv('pollen.csv', sep='\t')<sep>NameError: name 'df' is not defined


'AST_GOT,<sep>SyntaxError: EOL while scanning string literal (<ipython-input>, line 6)


print(math.mod(N / 100))<sep>NameError: name 'math' is not defined


s.append('1 2')<sep>AttributeError: 'str' object has no attribute 'append'


A,B,(map(int,input().splist())<sep>SyntaxError: unexpected EOF while parsing (<string>, line 2)


A, B = map(int, input().split())<sep>KeyboardInterrupt: Interrupted by user


elif<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


df = pd.read_csv('pollen,csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'pollen,csv'


df4 = pd.merge(df, df2, df3, on='名前',how='outer')<sep>TypeError: merge() got multiple values for argument 'how'


if S[3-1] == S[4-1] and S[5-1] == S[6-1]:<sep>IndexError: tuple index out of range


s = s/lower()<sep>NameError: name 'lower' is not defined


df = pd.read_csv('ja.csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'ja.csv'


test=pd.read_csv("test.csv")<sep>FileNotFoundError: [Errno 2] No such file or directory: 'test.csv'


r=s.remove(0,2)<sep>TypeError: remove() takes exactly one argument (2 given)


y_pred = model.predict(X_test)<sep>AttributeError: 'PolynomialFeatures' object has no attribute 'predict'


Sx,Sy,Gx,Gy=map(int, input().split(),'{:10}'.format(num))<sep>NameError: name 'num' is not defined


df.data()<sep>NameError: name 'df' is not defined


print(f'N={i}'.calc_pi(i))<sep>AttributeError: 'str' object has no attribute 'calc_pi'


for x in range(M):<sep>IndentationError: unexpected indent (<ipython-input>, line 3)


newdata.append(BMI1)<sep>NameError: name 'BMI1' is not defined


a == 0<sep>NameError: name 'a' is not defined


X = df[['temperature']] #一つ選ぶ<sep>KeyError: "None of [Index(['temperature'], dtype='object')] are in the [columns]"


return float(s)<sep>IndentationError: unexpected indent (<ipython-input>, line 3)


c=Counter()<sep>NameError: name 'Counter' is not defined


print(int(float('A',K)))<sep>TypeError: float expected at most 1 arguments, got 2


for i in range():<sep>TypeError: range expected 1 arguments, got 0


y_pred = model.predect(X)<sep>AttributeError: 'LinearRegression' object has no attribute 'predect'


s,t=input(),split()<sep>NameError: name 'split' is not defined


X = df[['week_num','weather_num','payday','temperature','kcal','soldout']]  # 価格以外を全て説明変数に<sep>KeyError: "['week_num', 'weather_num'] not in index"


if x>0:　#コロン<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 2)


for name , blood in zip(df['名前'], df['血液']):<sep>KeyError: '血液'


if (S[2*i-1].isupper() or S[2*i].islower()) and 2*i-1<=len(S):<sep>IndexError: list index out of range


print(r.frac())<sep>AttributeError: 'Ratio' object has no attribute 'frac'


for i in range(1,100);<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)


data[1,2,3,4,5,7] #データ列(リスト)<sep>NameError: name 'data' is not defined


S[1],S[2],S[3] = S[3],S[1],S[2]<sep>IndexError: list index out of range


pd.read_csv('file.xlsx')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'file.xlsx'


N,K=map(str,input().split)<sep>TypeError: 'builtin_function_or_method' object is not iterable


x=5<sep>IndentationError: expected an indented block (<ipython-input>, line 2)


train['Title'] = df['Name'].map(lambda x: x.split(', ')[1].split('. ')[0])<sep>KeyError: 'Name'


if p[i]==x:<sep>IndexError: list index out of range


df_train[['index']]<sep>KeyError: "None of [Index(['index'], dtype='object')] are in the [columns]"


train.drop(['SibSp', 'Parch'], axis=1,inplace=True)<sep>KeyError: "['SibSp' 'Parch'] not found in axis"


fpr, tpr, thresholds = roc_curve(test_y, pred, pos_label=1)<sep>NameError: name 'roc_curve' is not defined


sklearn.ensemble.StackingClassifier()<sep>NameError: name 'sklearn' is not defined


A = list(set(list(map(int,input().split())))).sorted()<sep>AttributeError: 'list' object has no attribute 'sorted'


df_all = pd.merge(df_name,df,on='name')<sep>KeyError: 'name'


for name in df.dtypes[df.dtypes == 'object'].index:<sep>NameError: name 'df' is not defined


X = df['通勤','教員比']<sep>KeyError: ('通勤', '教員比')


df.fead()<sep>AttributeError: 'DataFrame' object has no attribute 'fead'


A = list(input().split,)<sep>TypeError: 'builtin_function_or_method' object is not iterable


if ss.isuppper():<sep>AttributeError: 'str' object has no attribute 'isuppper'


plt. legend([str(df["部屋数"].describe())])<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


ans+=S[i]<sep>IndexError: string index out of range


else:<sep>SyntaxError: unexpected EOF while parsing (<string>, line 7)


A = list(A[H])<sep>IndexError: list index out of range


def clac(s:str)->:<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


if d=3<sep>SyntaxError: invalid syntax (<ipython-input>, line 10)


ans += list2[j]*int(cal_num[j])<sep>IndexError: list index out of range


print(A, ' ', B)<sep>IndentationError: expected an indented block (<string>, line 14)


for animal in animals:<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)


h = int(input("身長は？(cm)"))<sep>KeyboardInterrupt: Interrupted by user


im = Image.open("3.png")<sep>FileNotFoundError: [Errno 2] No such file or directory: '3.png'


A_lower.append(S)<sep>NameError: name 'A_lower' is not defined


print('身長 : ' + str(self.height()) + 'cm')<sep>TypeError: 'float' object is not callable


print (Ratio(2/4))<sep>TypeError: __init__() missing 1 required positional argument: 'bottom'


print(f'正解率(訓練)', model.score(X_train, y_train))<sep>NameError: name 'X_train' is not defined


best_model = clf.best_estimator_<sep>NameError: name 'clf' is not defined


A,B=map(input())<sep>TypeError: map() must have at least two arguments.


df=pd.read_csv('/content/sample_data/california_housing_train.csv'<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)


df,head(5)<sep>NameError: name 'head' is not defined


if i%2 != 0 and S[i].isupper() and S[i+1].islower():<sep>IndexError: string index out of range


df['GENDER_num'] = df['GENDER'].map({'M': 0, 'F': 1})<sep>KeyError: 'GENDER'


コギ―君<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)


model.fit(X,y)<sep>NameError: name 'model' is not defined


for key, df_name in df.groupby('カレー'):<sep>KeyError: 'カレー'


return lives<sep>SyntaxError: 'return' outside function (<ipython-input>, line 14)


le = preprocessing.LabelEncoder()<sep>NameError: name 'preprocessing' is not defined


df.drop("黒人",axis=1,inplace=True)<sep>KeyError: "['黒人'] not found in axis"


x+=[0]*(abs(n-k+1)))<sep>SyntaxError: invalid syntax (<string>, line 7)


for column in df.columns:<sep>NameError: name 'df' is not defined


pred = result.predict(X)<sep>NameError: name 'result' is not defined


con+= a-1<sep>NameError: name 'a' is not defined


rho, ? = pearsonr(df['降水量'],df['スギ花粉飛散量'])<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)


def __init__(self.start,end):<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)


print(name)<sep>NameError: name 'name' is not defined


print(n.translate('1','9'))<sep>TypeError: translate() takes exactly one argument (2 given)


plt.plot(range(40, 100, 5),H):<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)


animals = [Chikin(), Sheep(), Dog()]<sep>TypeError: __init__() missing 1 required positional argument: 'name'


h =math.sqrt(w / 22)<sep>NameError: name 'math' is not defined


plt.hist(df['住宅価格'], bin=15)<sep>AttributeError: 'Rectangle' object has no property 'bin'


if d ==11 or d ==22 d == 33 d == 44:<sep>SyntaxError: invalid syntax (<ipython-input>, line 8)


"1+10":1+10<sep>SyntaxError: illegal target for annotation (<ipython-input>, line 2)


a = n<sep>NameError: name 'n' is not defined


df['住宅価格']<sep>NameError: name 'df' is not defined


N=NN % 10<sep>NameError: name 'NN' is not defined


a, b, c, d = map(int, input(), split())<sep>NameError: name 'split' is not defined


c=a+b:<sep>SyntaxError: invalid syntax (<string>, line 4)


h=math.sqrt(w/22)*100<sep>NameError: name 'math' is not defined


A,B=map()(int,input().split))<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)


lives[y, x]<sep>NameError: name 'y' is not defined


df.read_csv('file.csv', sep=',')<sep>NameError: name 'df' is not defined


print(len(ABCDE.set()))<sep>AttributeError: 'list' object has no attribute 'set'


print(x[3],end='')<sep>IndexError: string index out of range