You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am at lesson 3.3 and rdd_csv_corrrect = rdd_no_header.map(lambda line: csv.reader([line]).next()) is giving an error in .next(). i am using python 3 here.
The error is AttributeError: '_csv.reader' object has no attribute 'next()'
I think this is more of an python2 v/s python3 issue, but need clarification as to how to resolve as this is becoming a show stopper :)