前言
博主运行python代码的时候出现了warning,主要是模块版本引起的。
drawlog.py warning
drawlog.py:76: FutureWarning: The error_bad_lines argument has been deprecated and will be removed in
当使用pandas.read_csv函数读取数据时若使用error_bad_lines=False来跳过错误行会出现警告,
这是因为参数error_bad_lines自 1.3.0 版起已被弃用,应改为使用 on_bad_lines 参数来指定遇到坏行时的行为。即将error_bad_lines=False改为on_bad_lines='skip'。
参考
1. sys:1: FutureWarning: The error_bad_lines argument has been deprecated and will be removed in a futu;
完