nl: call the method self.data.replace with 2 arguments: month as integer 1 and day as integer 1, on the result call the method,
code: jan1_weekday = self . data . replace ( month = 1 , day = 1 ) . weekday ( ) + 1