소스 검색

feat:VOV模型

zhaohaipeng 9 달 전
부모
커밋
20676af541
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      XGB/vov_xgboost_train.py

+ 1 - 0
XGB/vov_xgboost_train.py

@@ -32,6 +32,7 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(level
 
 def get_partition_df(table, dt):
     logger.info(f"开始下载: {table} -- {dt} 的数据")
+    df = pd.DataFrame()
     try:
         download_session = odps_client.get_download_session(table, dt)
         logger.info(f"表: {table} 中的分区 {dt}, 共有 {download_session.count} 条数据")