code: def head(self, n=5):
          
          if n >= len(self.index):
              return self.copy()
          return self.__constructor__(query_compiler=self._query_compiler.head(n))
docs: Get the first n rows of the DataFrame.
  
          Args:
              n (int): The number of rows to return.
  
          Returns:
              A new DataFrame with the first n rows of the DataFrame.