naohiro701 commited on
Commit
d7318ea
·
verified ·
1 Parent(s): 4860f6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -29,9 +29,6 @@ def get_renewable_energy_data(city_code):
29
  base_times = data[next(iter(data))]['x']
30
  result_df = pd.DataFrame({"Time": base_times})
31
 
32
- # Convert 'Time' column to datetime
33
- result_df['Time'] = pd.to_datetime(result_df['Time'], errors='coerce')
34
-
35
  # Loop through each energy type and append hourly capacity factor data to the DataFrame
36
  for energy_type, energy_data in data.items():
37
  if 'x' in energy_data and 'y' in energy_data:
 
29
  base_times = data[next(iter(data))]['x']
30
  result_df = pd.DataFrame({"Time": base_times})
31
 
 
 
 
32
  # Loop through each energy type and append hourly capacity factor data to the DataFrame
33
  for energy_type, energy_data in data.items():
34
  if 'x' in energy_data and 'y' in energy_data: