Wanting to convert in my dataframe with this format df['Start Date'] 2013-12-02 and I want to create a column where its tells me the name of day of the week according to the start date.
def with_weekday(dataframe, date_field):
dataframe = dataframe.copy(deep=True)
dataframe ['Weekday'] = day_name(dataframe['Start Date']) #help here
return dataframe
#the 'Start Date' is the column with dates that I want to convert with this format2013-12-02