<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dateparser(self, dformat='%d/%m/%Y'):
 """ Returns a date parser for pandas """


        def dateparse(dates):
            return [pd.datetime.strptime(d, dformat) for d in dates]

        return dateparse