hello ive been trying to get correlation between tables,and im trying to get a graph with matplotlib,but it gives error TypeError: Image data of dtype object cannot be converted to float and the graph wont load
import pandas as pd
import pandas_profiling
import matplotlib.pyplot as plt
import numpy as np
usd_price = pd.read_csv("data_usd.csv")
gold_price = pd.read_csv("emas_.csv")
minyak = pd.read_csv("minyak_brent.csv")
minyak.head()
merged_data = pd.concat([usd_price, gold_price], axis=1)
merged_data.columns
merged_data.shape
merged_data = merged_data.set_index('month')
merged_data.head()
plt.matshow(merged_data)
plt.show()