样本参数化
This commit is contained in:
@@ -11,7 +11,8 @@ import sys
|
|||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
city_num = sys.argv[1] if len(sys.argv) > 1 else None
|
city_num = sys.argv[1] if len(sys.argv) > 1 else None
|
||||||
log.info("输出参数" + city_num)
|
if city_num is not None:
|
||||||
|
log.info("输出参数" + city_num)
|
||||||
|
|
||||||
df = pd.DataFrame()
|
df = pd.DataFrame()
|
||||||
if city_num is not None and int(city_num) == 92:
|
if city_num is not None and int(city_num) == 92:
|
||||||
|
|||||||
Reference in New Issue
Block a user