code: def cummax(self, axis=None, skipna=True, *args, **kwargs):
          
          axis = self._get_axis_number(axis) if axis is not None else 0
          if axis:
              self._validate_dtypes()
          return self.__constructor__(
              query_compiler=self._query_compiler.cummax(
                  axis=axis, skipna=skipna, **kwargs
              )
          )
docs: Perform a cumulative maximum across the DataFrame.
  
          Args:
              axis (int): The axis to take maximum on.
              skipna (bool): True to skip NA values, false otherwise.
  
          Returns:
              The cumulative maximum of the DataFrame.