From b5ec837785d6247b8f64f39f9e5c0c065ebc804c Mon Sep 17 00:00:00 2001 From: cynic Date: Thu, 14 Jul 2022 21:14:55 -0400 Subject: [PATCH] remove old file --- test.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 test.py diff --git a/test.py b/test.py deleted file mode 100644 index 2b375ce..0000000 --- a/test.py +++ /dev/null @@ -1,11 +0,0 @@ -import pandas -data = pandas.read_csv("creditcard.csv") -guessed_class = [] -for r in data.iterrows(): - good = True - if abs(r[1]["V17"] - -6.665836399449663) < abs(r[1]["V17"] - 0.01153506325212925): - good = False - guessed_class.append(0 if good else 1) -data["guess"] = guessed_class -print(data.head(10)) -data.to_csv("woo2.csv") \ No newline at end of file