Beispiel #1
0
 def median(self):
     """
     Compute median value of non-null values
     """
     arr = self.values
     arr = arr[notnull(arr)]
     return tseries.median(arr)
Beispiel #2
0
 def median(self):
     """
     Compute median value of non-null values
     """
     arr = self.values
     arr = arr[notnull(arr)]
     return tseries.median(arr)
Beispiel #3
0
    def median(self):
        """
        Compute median value of non-null values
        """
        arr = self.values

        if arr.dtype != np.float_:
            arr = arr.astype(float)

        arr = arr[notnull(arr)]
        return tseries.median(arr)
Beispiel #4
0
    def median(self):
        """
        Compute median value of non-null values
        """
        arr = self.values

        if arr.dtype != np.float_:
            arr = arr.astype(float)

        arr = arr[notnull(arr)]
        return tseries.median(arr)