I have a set of csv files I upload into a data frame. each file has a different length.
I want to equalize the length of all columns to the mean columns length. the thing I don't want to just add values in the end but I want to stretch or compress (if its shorter or longer than the mean) the column linearly - meaning I want to insert (or remove) values inside the column itself.
Any suggestions?
Thank you