reneshbedre/bioinfokit

read csv

Closed this issue · 12 comments

How can i read my own csv 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?

IMG_20201014_164018.jpg

This is my data frame.

IMG_20201014_164029.jpg

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

IMG_20201015_174314.jpg

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. IMG_20201015_174325.jpg
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