Spaces:
Runtime error
Runtime error
Update data_process_func.py
Browse files- data_process_func.py +1 -2
data_process_func.py
CHANGED
|
@@ -7,7 +7,7 @@ Created on Mon May 8 20:35:33 2023
|
|
| 7 |
"""
|
| 8 |
|
| 9 |
import pandas as pd
|
| 10 |
-
|
| 11 |
import os
|
| 12 |
def df_to_dict_univ_region(df)->dict:
|
| 13 |
result_dict = {}
|
|
@@ -109,7 +109,6 @@ def get_univreg_by_school_dict(df):
|
|
| 109 |
|
| 110 |
|
| 111 |
def record_login(filename,role):
|
| 112 |
-
|
| 113 |
curr_time = datetime.now()
|
| 114 |
curr_time_fm = curr_time.strftime("%H:%m")
|
| 115 |
today_date = date.today()
|
|
|
|
| 7 |
"""
|
| 8 |
|
| 9 |
import pandas as pd
|
| 10 |
+
from datetime import date,datetime
|
| 11 |
import os
|
| 12 |
def df_to_dict_univ_region(df)->dict:
|
| 13 |
result_dict = {}
|
|
|
|
| 109 |
|
| 110 |
|
| 111 |
def record_login(filename,role):
|
|
|
|
| 112 |
curr_time = datetime.now()
|
| 113 |
curr_time_fm = curr_time.strftime("%H:%m")
|
| 114 |
today_date = date.today()
|