Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Combination ofdelimiter=' ' andskipinitialspace=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 100bananas yellow 3Empty 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