DAY 19:- Exploratory Data Analysis

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 3

  • @bsreelatha6174
    @bsreelatha6174 День тому +1

    is there any other method of calculating the same. During the session you have explained directly by using corr() function. Why it hasn't worked for us.

    • @NextGenGlobalIT
      @NextGenGlobalIT  День тому

      Hello Sreelatha
      In general, the corr() function doesn't work on non numeric columns it ignores categorical columns. But did the corr function work in my case and haven't in your case is the pandas version that both of us are using is different. There are alternatives available by calculating the correlation coefficient from numpy and scipy modules.