From ee92975418ddc68b1ffef28f228d0aeb0629b8be Mon Sep 17 00:00:00 2001 From: vsian Date: Thu, 24 Oct 2024 16:51:08 +0800 Subject: [PATCH] remove print statements --- python/infinity_http.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python/infinity_http.py b/python/infinity_http.py index 076618110..8fc699168 100644 --- a/python/infinity_http.py +++ b/python/infinity_http.py @@ -661,15 +661,13 @@ def to_df(self): for res in self.output_res: for k in res: - print(res[k]) + # print(res[k]) if k not in df_dict: df_dict[k] = () tup = df_dict[k] if res[k].isdigit() or is_float(res[k]): - print('number') new_tup = tup + (eval(res[k]),) elif is_list(res[k]): - print('list') new_tup = tup + (ast.literal_eval(res[k]),) elif is_date(res[k]): new_tup = tup + (res[k],) @@ -678,11 +676,9 @@ def to_df(self): elif is_datetime(res[k]): new_tup = tup + (res[k],) elif is_sparse(res[k]): # sparse vector - print('sparse') sparse_vec = str2sparse(res[k]) new_tup = tup + (sparse_vec,) else: - print('str') if res[k].lower() == 'true': res[k] = True elif res[k].lower() == 'false':