Seaborn Heatmap Currency Format
Given the following heatmap: import matplotlib.pyplot as plt import seaborn as sns import pandas as pd %matplotlib inline df = pd.DataFrame( {'A' : ['A', 'A', 'B', 'B','C', '
Solution 1:
df["C"] = df["C"].map(lambda x: "${:,.1f}".format(x/1000.))
Post a Comment for "Seaborn Heatmap Currency Format"