modin/pandas/series.py
def squeeze(self, axis=None):  # noqa: PR01, RT01, D200
        """
        Squeeze 1 dimensional axis objects into scalars.
        """
        if axis is not None:
            # Validate `axis`
            pandas.Series._get_axis_number(axis)
        if len(self.index) == 1:
            return self._reduce_dimension(self._query_compiler)
        else:
            return self.copy()

        Squeeze 1 dimensional axis objects into scalars.
        
Squeeze 1 dimensional axis objects into scalars.
Squeeze 1 dimensional axis objects into scalars .
def squeeze(self, axis=None):  
        if axis is not None:
            pandas.Series._get_axis_number(axis)
        if len(self.index) == 1:
            return self._reduce_dimension(self._query_compiler)
        else:
            return self.copy()
def squeeze ( self , axis = None ) : if axis is not None : pandas . Series . _get_axis_number ( axis ) if len ( self . index ) == 1 : return self . _reduce_dimension ( self . _query_compiler ) else : return self . copy ( )
Squeeze 1 dimensional axis objects into scalars.
Squeeze 1 dimensional axis objects into scalars .
# noqa: PR01, RT01, D200 """
        Squeeze 1 dimensional axis objects into scalars.
        """ # Validate `axis`
self
axis