Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some problem about data preprocess #30

Open
kang1916 opened this issue Sep 3, 2018 · 5 comments
Open

some problem about data preprocess #30

kang1916 opened this issue Sep 3, 2018 · 5 comments

Comments

@kang1916
Copy link

kang1916 commented Sep 3, 2018

there is a problem about the panda usage:

AttributeError: 'DataFrame' object has no attribute 'review'

at line 46, 55:
46: data_train = pd.read_csv('labeledTrainData.tsv', sep='\t')
55 :for idx in range(data_train.review.shape[0]):

variable "data_train" does not got attribute "review"

===========

I have looked for different of pandas and the problem is still not fixed
Any suggestion about this problem?

THANKS!!!

@pengyuan
Copy link

same problem.

@pengyuan
Copy link

I fixed it.
wget just download a .html file, not real .tsv file.

see:
https://raw.githubusercontent.com/MatthieuBizien/Bag-popcorn/master/labeledTrainData.tsv

@kang1916
Copy link
Author

I fixed it.
wget just download a .html file, not real .tsv file.

see:
https://raw.githubusercontent.com/MatthieuBizien/Bag-popcorn/master/labeledTrainData.tsv

Thanks!

@mowangshao
Copy link

I fixed it.
wget just download a .html file, not real .tsv file.

see:
https://raw.githubusercontent.com/MatthieuBizien/Bag-popcorn/master/labeledTrainData.tsv

Same problem. So, how can I fix it.

@mowangshao
Copy link

I fixed it.
wget just download a .html file, not real .tsv file.

see:
https://raw.githubusercontent.com/MatthieuBizien/Bag-popcorn/master/labeledTrainData.tsv

Thanks. Now I have fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants