Update app.py
Browse files
app.py
CHANGED
|
@@ -7,21 +7,21 @@ import os
|
|
| 7 |
API_URL = 'https://api.electricitymap.org/v3/power-breakdown/latest'
|
| 8 |
API_TOKEN = os.getenv('ELECTRICITYMAP_API_TOKEN')
|
| 9 |
|
| 10 |
-
# Define the data for Shell offices
|
| 11 |
data = {
|
| 12 |
"Office": ["Shell Centre", "Shell House", "Shell Technology Center", "Shell India Markets Pvt Ltd",
|
| 13 |
"Shell Australia", "Shell Canada", "Shell Argentina", "Shell Nigeria", "Shell China",
|
| 14 |
"Shell Russia", "Shell Germany", "Shell Netherlands", "Shell South Africa", "Shell Mexico",
|
| 15 |
-
"Shell Brazil"],
|
| 16 |
"Location": ["London, United Kingdom", "Singapore", "Houston, Texas, USA", "Bengaluru, India",
|
| 17 |
"Perth, Australia", "Calgary, Alberta, Canada", "Buenos Aires, Argentina",
|
| 18 |
"Lagos, Nigeria", "Beijing, China", "Moscow, Russia", "Hamburg, Germany",
|
| 19 |
"The Hague, Netherlands", "Cape Town, South Africa", "Mexico City, Mexico",
|
| 20 |
-
"Rio de Janeiro, Brazil"],
|
| 21 |
"Latitude": [51.5074, 1.3521, 29.7604, 12.9716, -31.9505, 51.0447, -34.6037, 6.5244,
|
| 22 |
-
39.9042, 55.7558, 53.5511, 52.0705, -33.9249, 19.4326, -22.9068],
|
| 23 |
"Longitude": [-0.1278, 103.8198, -95.3698, 77.5946, 115.8605, -114.0719, -58.3816,
|
| 24 |
-
3.3792, 116.4074, 37.6173, 9.9937, 4.3007, 18.4241, -99.1332, -43.1729]
|
| 25 |
}
|
| 26 |
|
| 27 |
df = pd.DataFrame(data)
|
|
|
|
| 7 |
API_URL = 'https://api.electricitymap.org/v3/power-breakdown/latest'
|
| 8 |
API_TOKEN = os.getenv('ELECTRICITYMAP_API_TOKEN')
|
| 9 |
|
| 10 |
+
# Define the data for Shell offices, including Chennai Shell Center
|
| 11 |
data = {
|
| 12 |
"Office": ["Shell Centre", "Shell House", "Shell Technology Center", "Shell India Markets Pvt Ltd",
|
| 13 |
"Shell Australia", "Shell Canada", "Shell Argentina", "Shell Nigeria", "Shell China",
|
| 14 |
"Shell Russia", "Shell Germany", "Shell Netherlands", "Shell South Africa", "Shell Mexico",
|
| 15 |
+
"Shell Brazil", "Chennai Shell Center"],
|
| 16 |
"Location": ["London, United Kingdom", "Singapore", "Houston, Texas, USA", "Bengaluru, India",
|
| 17 |
"Perth, Australia", "Calgary, Alberta, Canada", "Buenos Aires, Argentina",
|
| 18 |
"Lagos, Nigeria", "Beijing, China", "Moscow, Russia", "Hamburg, Germany",
|
| 19 |
"The Hague, Netherlands", "Cape Town, South Africa", "Mexico City, Mexico",
|
| 20 |
+
"Rio de Janeiro, Brazil", "Chennai, India"],
|
| 21 |
"Latitude": [51.5074, 1.3521, 29.7604, 12.9716, -31.9505, 51.0447, -34.6037, 6.5244,
|
| 22 |
+
39.9042, 55.7558, 53.5511, 52.0705, -33.9249, 19.4326, -22.9068, 12.948355048098758],
|
| 23 |
"Longitude": [-0.1278, 103.8198, -95.3698, 77.5946, 115.8605, -114.0719, -58.3816,
|
| 24 |
+
3.3792, 116.4074, 37.6173, 9.9937, 4.3007, 18.4241, -99.1332, -43.1729, 80.20786438232427]
|
| 25 |
}
|
| 26 |
|
| 27 |
df = pd.DataFrame(data)
|