Good afternoon everyone!
I'm building a pipeline in SAS Vyia for learners and I would like to plot (if possible) a correlation matrix by computing it in python language (I attached the pipeline).
The code I've written so far is this on:
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
import warnings
warnings.filterwarnings('ignore')
bank_df = pd.read_csv(dm_inputdf + "node_data.csv")
corr_df = bank_df.corr(method = "pearson")
plt.figure(figsize=(10,8))
sns.heatmap(corr_df, annot=True)
plt.show()
Unfortunately I cannot execute it because it keeps giving me error.
Actually, I would like to print a correlation matrix of the entire datafile but I can't understand which kind of path I should use..
Thank you so much,
Sara