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