How to read file with space separated values in pandas
you can use regex as the delimiter:
pd.read_csv("whitespace.csv", header=None, delimiter=r"\s+")
add delim_whitespace=True
argument, it's faster than regex.
you can use regex as the delimiter:
pd.read_csv("whitespace.csv", header=None, delimiter=r"\s+")
add delim_whitespace=True
argument, it's faster than regex.