code: def dateparser(self, dformat='%d/%m/%Y'):
          
  
          def dateparse(dates):
              return [pd.datetime.strptime(d, dformat) for d in dates]
  
          return dateparse
docs: Returns a date parser for pandas