HF RL Explorer

Normalize Columns of a DataFrame

Normalize Columns of a DataFrame: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that normalizes all columns of a pandas DataFrame so that each value is scaled between 0 and 1. The normalization should divide each value in a column by the maximum value in that column.

The task

Write a Python script that normalizes all columns of a pandas DataFrame so that each value is scaled between 0 and 1. The normalization should divide each value in a column by the maximum value in that column.

Part of PrimeIntellect/Terminal-Lego-15k.