Unable to use evaluate function in Pandas data frame for data quality #78
Unanswered
manojkumar1906
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ,
In my case I had converted CSV file into pandas data frame and we I tried to us the evaluate function from data quality It show an warning message.
code I used:
import pandas as pd
from ydata_quality import DataQuality
df = pd.read_csv('Downloads/sample.csv')
dq = DataQuality(df=df)
results = dq.evaluate()
we I ran the above code in jupyter notebook , I pops out an warning stating
\appdata\local\programs\python\python38\lib\site-packages\ydata_quality\utils\correlations.py:73: RuntimeWarning: divide by zero encountered in double_scalars
return np.sqrt(phi_sq_hat / np.min([k_hat - 1, r_hat - 1])) # Note: this is strictly positive
I will attach the sample csv file which I used for reference:
sample1.csv
Beta Was this translation helpful? Give feedback.
All reactions