Closed
Description
Bug report
Combination of delimiter=' '
and skipinitialspace=True
was considered illegal in #113796, because it is ambiguous in case of empty fields. But there may be a use case for this, when the input is a preformatted table with a series of spaces considered as a delimiter:
apples red 100
bananas yellow 3
Empty fields are not compatible with such format, so the writer should either quote them, or fail if quoting is not possible.
Linked PRs
- gh-115712: Support CSV dialects with delimiter=' ' and skipinitialspace=True #115721
- [3.12] gh-115712: Support CSV dialects with delimiter=' ' and skipinitialspace=True (GH-115721) #115729
- [3.11] gh-115712: Support CSV dialects with delimiter=' ' and skipinitialspace=True (GH-115721) (GH-115729) #115738