read_csv skip rows if error code example
Example: ignore bad lines pandas
import pandas as pd
dataFrame = pd.read_csv('path_to_file.csv',error_bad_lines=False)
import pandas as pd
dataFrame = pd.read_csv('path_to_file.csv',error_bad_lines=False)