aromidvar1355 commited on
Commit
d8faf6e
·
verified ·
1 Parent(s): fcc71ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -175,6 +175,8 @@ def save_openweather_historical_to_csv(openweather_historical_readings):
175
 
176
  # Create a DataFrame from the readings
177
  df = pd.DataFrame([openweather_historical_readings]) # Assuming a single row of data
 
 
178
 
179
  # Ensure the DataFrame is not empty
180
  if df.empty:
 
175
 
176
  # Create a DataFrame from the readings
177
  df = pd.DataFrame([openweather_historical_readings]) # Assuming a single row of data
178
+ print("DataFrame shape:", df.shape)
179
+ print("DataFrame columns:", df.columns)
180
 
181
  # Ensure the DataFrame is not empty
182
  if df.empty: