*** AttributeError: 'DatetimeProperties' object has no attribute 'weekday_name' code example
Example: DatetimeProperties' object has no attribute 'weekday_name'
df['Weekday'] = df['Date'].dt.day_name()
df['Weekday'] = df['Date'].dt.day_name()