DOC, BUG: Clarify and Standardize Whitespace Delimiter Behaviour with Custom Line Terminator · Issue #12912 · pandas-dev/pandas (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
from pandas import read_csv from pandas.compat import StringIO data = """a b c
1 2 34 5 67 8 9""" df = read_csv(StringIO(data), lineterminator='', delim_whitespace=True) df Empty DataFrame Columns: [a, b, c1, 2, 34, 5, 6~7, 8, 9] Index: []
expected:
df a b c 0 1 2 3 1 4 5 6 2 7 8 9
Note that this bug is only for the C engine, as the Python engine does not yet support delim_whitespace
.