From 332e14bfdbcfdd190237c9fca83eaec7e9e583fa Mon Sep 17 00:00:00 2001 From: piotr6789 Date: Sun, 18 Apr 2021 15:41:44 +0200 Subject: [PATCH] fix init.py --- init.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/init.py b/init.py index adbdf76..59ced6e 100644 --- a/init.py +++ b/init.py @@ -12,8 +12,6 @@ courses = pd.read_csv('udemy_output_All_Finance__Accounting_p1_p626.csv') #Delete redundant columns imp_col = ['id', 'title', 'url', 'is_paid', 'num_subscribers', 'rating', 'num_reviews', 'created'] courses = courses[imp_col] -courses.to_csv("courses.csv", index=False) -courses = pd.read_csv('courses.csv') #Delete empty rows of rating column and number of reviews less than 10 rating_col = 'rating'