def log10(self, floor=None):
        """Take the log base 10 of the entire dataset.

        Parameters
        ----------
        floor : number (optional)
            Clip values below floor after log. Default is None.
        """

        def f(dataset, s, floor):
            arr = dataset[s]
            arr = np.log10(arr)
            if floor is not None:
                arr[arr < floor] = floor
            dataset[s] = arr

        self.chunkwise(f, floor=floor)
def log10 ( self , floor = None ) : def f ( dataset , s , floor ) : arr = dataset [ s ] arr = np . log10 ( arr ) if floor is not None : arr [ arr < floor ] = floor dataset [ s ] = arr self . chunkwise ( f , floor = floor )
Take the log base 10 of the entire dataset.

        Parameters
        ----------
        floor : number (optional)
            Clip values below floor after log. Default is None.