pandas allow csv with no lines code example
Example 1: ignore bad lines pandas
import pandas as pd
dataFrame = pd.read_csv('path_to_file.csv',error_bad_lines=False)
Example 2: pandas read csv skip rows
df = pd.read_csv(data, skiprows = n)
import pandas as pd
dataFrame = pd.read_csv('path_to_file.csv',error_bad_lines=False)
df = pd.read_csv(data, skiprows = n)