当我使用下面的python代码从SQL中提取数据到excel时,excel文件中的日期格式会自动更改。但是,当我通过手动复制粘贴SQL结果时,没有发生日期格式问题。正确格式为"2021-08-03 07:13:05.483“ SQL中的日期格式: 2021-08-03 07:13:05.483 excel中的日期格式: 03-08-2021 7.13.05 AM() for line in file]
for i, iter in zip(input_li
我有一个带有日期列的excel输入文件,其中一些日期不正确,在执行作业时,我得到了以下错误 The cell format is not Date in ( Row. 128 and ColumnNumand ColumnNum. 3 )
The cell format is not Date in ( Row. 406 and ColumnNum. 3 ) 然后我想过滤这些值,以避免这种错误事实上,日期不正确的行包含值"-",这意味着我们不知道正确