image_output_1.png
from sklearn.preprocessing import StandardScaler

import matplotlib.pyplot as plt

import matplotlib.pyplot as plt

import matplotlib.pyplot as plt

import pandas as pd

from sklearn.preprocessing import StandardScaler
details = {'col1': [1, 3, 5, 7, 9], 'col2': [7, 4, 35, 14, 56]}
df = pd.DataFrame(details)
scaler = StandardScaler()
df = scaler.fit_transform(df)
df = pd.DataFrame(df)

plt = df.plot.bar()

df = pd.DataFrame([[180000, 110, 18.9, 1400], [360000, 905, 23.4, 1800], [230000, 230, 14.0, 1300], [60000, 450, 13.5, 1500]], columns=['Col A', 'Col B', 'Col C', 'Col D'])

import matplotlib.pyplot as plt
plt = df.plot.bar()

df_max_scaled = df.copy()
for column in df_max_scaled.columns:
    df_max_scaled[column] = df_max_scaled[column] / df_max_scaled[column].abs().max()

import matplotlib.pyplot as plt
plt = df_max_scaled.plot.bar()