ArcheanVision commited on
Commit
a192521
·
verified ·
1 Parent(s): 9a3e33b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ def main():
211
 
212
  df = pd.DataFrame(market_data)
213
  if "close_time" in df.columns:
214
- df['close_time'] = pd.to_datetime(df['close_time'], unit='s', errors='coerce')
215
  else:
216
  st.error("The 'close_time' column is missing from the retrieved data.")
217
  return
 
211
 
212
  df = pd.DataFrame(market_data)
213
  if "close_time" in df.columns:
214
+ df['close_time'] = pd.to_datetime(df['close_time'], unit='ms', errors='coerce')
215
  else:
216
  st.error("The 'close_time' column is missing from the retrieved data.")
217
  return