fix init.py

This commit is contained in:
piotr6789 2021-04-18 15:41:44 +02:00
parent 5c74ea06cf
commit 332e14bfdb

View File

@ -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'