lunarflu HF staff commited on
Commit
fa7064d
1 Parent(s): 41ceb8f

printing to make sure sci notation isn't issue

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -51,7 +51,7 @@ api = HfApi()
51
  #csv_file = 'data.csv'
52
  global_df = pd.DataFrame()
53
  print(type(global_df))
54
- data = pd.read_csv("https://docs.google.com/spreadsheets/d/1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w/export?format=csv&gid=0")
55
 
56
  @bot.event
57
  async def on_ready():
@@ -61,8 +61,10 @@ async def on_ready():
61
  # testing sheet -> read -> paste sheet
62
 
63
  """import data from google sheets -> HF Space .csv (doesn't make API call this way, as it's read-only)"""
64
-
 
65
  data['discord_user_id'] = data['discord_user_id'].astype(str)
 
66
  global_df = data
67
  print(f"csv successfully retrieved: {global_df}")
68
  #data.to_csv(csv_file, index=False)
 
51
  #csv_file = 'data.csv'
52
  global_df = pd.DataFrame()
53
  print(type(global_df))
54
+
55
 
56
  @bot.event
57
  async def on_ready():
 
61
  # testing sheet -> read -> paste sheet
62
 
63
  """import data from google sheets -> HF Space .csv (doesn't make API call this way, as it's read-only)"""
64
+ data = pd.read_csv("https://docs.google.com/spreadsheets/d/1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w/export?format=csv&gid=0")
65
+ print(data)
66
  data['discord_user_id'] = data['discord_user_id'].astype(str)
67
+ print(data)
68
  global_df = data
69
  print(f"csv successfully retrieved: {global_df}")
70
  #data.to_csv(csv_file, index=False)