Skip to content

Commit

Permalink
Merge pull request clintonboys#9 from AmitMY/patch-1
Browse files Browse the repository at this point in the history
fix(scraper): deprecated pandas function
  • Loading branch information
Clinton Boys authored Jan 17, 2020
2 parents 518fd96 + 1d9cbf9 commit 7e86f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gt_scraper_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def stitch_frames(daily_frames, weekly_frame):
final_data[this_date] = this_val
except:
pass
final_data_frame = DataFrame.from_dict(final_data,orient='index').sort()
final_data_frame = DataFrame.from_dict(final_data,orient='index').sort_index()
final_data_frame[0] = np.round(final_data_frame[0]/final_data_frame[0].max()*100,2)

final_data_frame.columns=['Volume']
Expand Down

0 comments on commit 7e86f82

Please sign in to comment.