Other transformations

These are useful when doing feature engineering.