Toggle dark mode

Hi,

📢 Taipy v2.1 is about to be launched! 🚀 ETA:

Day(s)

:

Hour(s)

:

Minute(s)

:

Second(s)

M
December 19, 2022

Correlation

Welcome to Taipy Forums Other Correlation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #237410
    smicapstonesmicapstone
    Participant

    from sklearn import datasets
    import statsmodels.api as sm
    import statsmodels.formula.api as smf
    import pandas as pd
    import numpy as np
    import numpy as np; np.random.seed(0)
    import seaborn as sns; sns.set_theme()
    import matplotlib.pyplot as plt

    data_gms = pd.read_csv(‘cor_gms.csv’)
    data_open = pd.read_csv(‘cor_open.csv’)
    data_close = pd.read_csv(‘cor_close.csv’)

    da_gms = data_gms.drop([‘date’], axis=1)
    da_open = data_open.drop([‘date’], axis=1)
    da_close = data_close.drop([‘date’], axis=1)

    cor_gms = da_gms.corr()

    cor_gms = da_gms.corr()

    cor_close = da_close.corr()

    plt.figure(figsize=(16, 12))
    ax_gms = sns.heatmap(cor_gms,annot = True,center=0,linewidths = 5)

    plt.figure(figsize=(16, 12))
    ax_gms = sns.heatmap(cor_gms,annot = True,center=0,linewidths = 5)

    plt.figure(figsize=(16, 12))
    ax_gms = sns.heatmap(cor_gms,annot = True,center=0,linewidths = 5)

    #237440
    Florian JactaFlorian Jacta
    Keymaster

    Hi,

    Is there a problem with the code, or is everything fine?

    Best regards,
    Florian

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.