Reading CSV files with abraxosΒΆ
Abraxos provides functions to read CSV files robustly, handling bad lines and chunking.
Example:
from abraxos import read_csv
bad_lines, df = read_csv("data.csv")
print("Bad lines:", bad_lines)
print(df.head())
Output:
Bad lines: [['', '', '', 'd', '', 'f', '', '', '', '', 'f', '', '', '', ''],
['', 'f', 'f', '5', '6', '7', '8']]
<DataFrame output here>