Closed kyawwh closed 3 years ago
@kyawwh check this out https://reneshbedre.github.io/blog/pandas.html#import-data-from-file
Thank you. Sir
Did you solve your issue?
Yes. But I can't use t test(type3, paired t test) . There is error in paired ttest.
Can you please send error details?
This is my data frame.
This is error.
Can you tell me, how can I sent you message from github?
@kyawwh
You need to keep only Ewt
and Twt
in the dataframe. You can do that like this way
df = df[['Ewt', 'Twt']]
Then again run the ttest
on this updated dataframe.
Let me know if you still have trouble. You can also send me an email at reneshbe@gmail.com
There is still problem sir.
@kyawwh
You have saved the dataframe in the y
variable.
Update your code as res.ttest(df=y, res=['Twt', 'Ewt'], test_type=3)
Sorry, sir. Yesterday, I uploaded 2 pic, but one was uploaded. This is another pic. I tried y variable. But, still error.
@kyawwh
Follow the docs carefully https://reneshbedre.github.io/blog/ttest.html#paired-t-test-dependent-t-test
You need to import the stat
class as from bioinfokit.analys import stat
and then run the test again with correct dataframe
Thank you
How can i read my own csv file?