Skip to content

Commit

Permalink
Fix incorrect column label in nasdaq_model.py (#4063)
Browse files Browse the repository at this point in the history
* Fix incorrect column label in nasdaq_model.py

'Time (GMT)' changed to 'Time (ET)'

* Update tests

---------

Co-authored-by: petycomppety <[email protected]>
Co-authored-by: James Maslek <[email protected]>
  • Loading branch information
3 people authored Jan 30, 2023
1 parent a3a1345 commit 4c80b75
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion openbb_terminal/economy/nasdaq_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_economic_calendar(

calendar = calendar.rename(
columns={
"gmt": "Time (GMT)",
"gmt": "Time (ET)",
"country": "Country",
"eventName": "Event",
"actual": "Actual",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
,Time (GMT),Country,Event,Actual,Consensus,Previous,Date
,Time (ET),Country,Event,Actual,Consensus,Previous,Date
0,08:30,United States,Continuing Jobless Claims,"1,385K","1,375K","1,364K",2022-10-20
1,08:30,United States,Initial Jobless Claims,214K,230K,226K,2022-10-20
2,08:30,United States,Jobless Claims 4-Week Avg.,212.25K,-,211.00K,2022-10-20
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ Date
2015-07-31 2.751032 3.065134 3.922265
2015-01-31 2.806361 3.252033 4.318705
2014-07-31 2.826189 2.570773 4.814145

Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ Date
2015-07-31 2.751032 3.065134 3.922265
2015-01-31 2.806361 3.252033 4.318705
2014-07-31 2.826189 2.570773 4.814145

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Time (GMT) Country Event Actual Consensus Previous Date
0 08:30 United States Continuing Jobless Claims 1,385K 1,375K 1,364K 2022-10-20
1 08:30 United States Initial Jobless Claims 214K 230K 226K 2022-10-20
2 08:30 United States Jobless Claims 4-Week Avg. 212.25K - 211.00K 2022-10-20
Time (ET) Country Event Actual Consensus Previous Date
0 08:30 United States Continuing Jobless Claims 1,385K 1,375K 1,364K 2022-10-20
1 08:30 United States Initial Jobless Claims 214K 230K 226K 2022-10-20
2 08:30 United States Jobless Claims 4-Week Avg. 212.25K - 211.00K 2022-10-20

0 comments on commit 4c80b75

Please sign in to comment.