I have a pandas dataframe, output similar to below:
index value
0 5.95
1 1.49
2 2.34
3 5.79
4 8.48
I want to get the normalised value of each column['value'] and store it in a new column['normalised'] but not sure how to apply the normalise function to the column...
my normalising function would look like this: (['value'] - min['value'])/(max['value'] - min['value']
I know I should probably be using the apply or transform function to add the new column to the dataframe but not sure how to pass the normalising function to the apply function...
Sorry if I'm getting the terminology wrong but I'm a newbe to python and in particular pandas!