As the error says clearly, column FL Date has a different format that you
are expecting. Modify you date format mask appropriately
On Wed, 11 Apr 2018 at 5:12 pm, @Nandan@
wrote:
> Hi ,
> I am not able to use .map function in Spark.
>
> My codes are as below :-
>
Hi ,
I am not able to use .map function in Spark.
My codes are as below :-
*1) Create Parse function:-*
from datetime import datetime
from collections import namedtuple
fields =
('date','airline','flightnum','origin','dest','dep','dep_delay','arv','arv_delay','airtime','distance')
Flight =