fix init.py
This commit is contained in:
parent
5c74ea06cf
commit
332e14bfdb
2
init.py
2
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'
|
||||
|
Loading…
Reference in New Issue
Block a user