<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def head(self, n=5):
 """Returns first n rows"""

        col = self.copy()
        col.query.setLIMIT(n)
        return col.toPandas()