code: def head_ref(self):
          
          return ReferencesDataFrame(self._engine_dataframe.getHEAD(),
                                     self._session, self._implicits)
docs: Filters the current DataFrame to only contain those rows whose reference is HEAD.
  
          >>> heads_df = refs_df.head_ref
  
          :rtype: ReferencesDataFrame