text: Title: [BUG] transform column mutates dataframe
  Body: I think it does so, and it shouldn't. Just leaving this here for my future reference.
  
  The simple fix would be to add a `df.copy()` right before doing anything to the dataframe.