Skip to content

Commit

Permalink
add airports class
Browse files Browse the repository at this point in the history
  • Loading branch information
han16nah committed May 4, 2024
1 parent 8e9e941 commit 85fa0f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion co2calculator/data_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ def get(self, parameters: dict):


class Airports:
pass
def __init__(self):
"""Init"""
self.airports = pd.read_csv(
"https://davidmegginson.github.io/ourairports-data/airports.csv"
)


class DetourFactors:
Expand Down

0 comments on commit 85fa0f2

Please sign in to comment.