Cleaning methods#

pdcleaner.cleaning.cleaning Module#

Definition of cleaning methods

Those methods apply to detectors.

Functions#

alternatives(self, detector[, inplace])

Clean by merging values that have been identified as alternative representations of the same object by a key collision detector.

cast(self, detector, **kwargs)

Clean by casting value into the specific target type.

clip(self, detector[, inplace])

Clean numerical series by clipping between lower and upper values

drop(self, detector[, inplace])

Clean by dropping errors

replace(self, detector[, value, inplace])

Clean by replacing errors by a value

strip(self, detector)

Clean by removing extraspaces detected by the 'spaces' detector.

to_na(self, detector[, inplace])

Clean by replacing errors by NaN