1ff8b283e56ce454be2ce16e242759ac9537340f,google_analytics/predict_spending.py,,,#,14

Before Change


	if i not in list(final_test.columns):
		print(i)

all_train = all_train.drop("campaignCode", axis=1)


//drop campaign code, transactionRevenue is what we are trying to predict

After Change


all_train = all_train.drop(flatline, axis = 1)
all_train.shape

flatline = [x for x in flatline if x != "campaignCode" ]
final_test = final_test.drop(flatline, axis=1)
final_test.shape

for i in list(all_train.columns):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: CNuge/kaggle-code
Commit Name: 1ff8b283e56ce454be2ce16e242759ac9537340f
Time: 2018-10-17
Author: nugentc@uoguelph.ca
File Name: google_analytics/predict_spending.py
Class Name:
Method Name:


Project Name: catalyst-cooperative/pudl
Commit Name: a5d1cf98f0ec5c72fb48336cafaf31bf11e6128e
Time: 2020-05-16
Author: cgosnell@catalyst.coop
File Name: src/pudl/analysis/mcoe.py
Class Name:
Method Name: mcoe


Project Name: catalyst-cooperative/pudl
Commit Name: a70d7c493fdcac1a1e34273c269e18210637b990
Time: 2017-11-08
Author: zane.selvans@catalyst.coop
File Name: pudl/outputs.py
Class Name:
Method Name: organize_cols