<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dropr(self, *rows):
 """ Drops some rows from the main dataframe :param rows: rows names :type rows: list of ints :example: ``ds.drop_rows([0, 2])`` """

        try:
            self.df = rows = list(rows)
            self.df.drop(rows)
        except Exception as e:
            self.err(e, self.dropr, "Can not drop rows")