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

AttributeError: 'DataFrame' object has no attribute 'sort' #8

Closed
kkorovesis opened this issue May 18, 2018 · 1 comment · Fixed by #9
Closed

AttributeError: 'DataFrame' object has no attribute 'sort' #8

kkorovesis opened this issue May 18, 2018 · 1 comment · Fixed by #9

Comments

@kkorovesis
Copy link

Traceback (most recent call last):
File "gt_scraper_v2.py", line 145, in
stitch_frames(daily_frames, weekly_frame)
File "gt_scraper_v2.py", line 125, in stitch_frames
final_data_frame = DataFrame.from_dict(final_data,orient='index').sort()
File "/home/userfoo/anaconda2/envs/py27/lib/python2.7/site-packages/pandas/core/generic.py", line 3614, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'
(py27) userfoo:~/Github/trendy-scraper$

@AmitMY
Copy link
Contributor

AmitMY commented May 21, 2018

change to sort_index

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

Successfully merging a pull request may close this issue.

2 participants