You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say the data is separated by commas. This input:
1,2,3
1,,3
1,2,3
Should be interpreted as 3 rows and 3 columns with all floats, the second row having a zero for its second column.
This is not what happens at the moment. Instead, the second row is ignored as it's interpreted as having only 2 columns. This doesn't make sense except in the case where the separator is a space, where many subsequent spaces are trimmed to one as a preprocessing step.
This preprocessing should only be applied when the separator is a space.
The text was updated successfully, but these errors were encountered:
This seems correct when the separator is a space (is it?), but e.g. definitely wrong when it's a comma.
Outstanding work on this issue is to evaluate if this "smart feature" is helpful at all, if it should be removed or applied only to spaces, to write adequate tests for those cases (hopefully here: https://github.com/marianogappa/chart/blob/master/format/format_test.go) and to actually implement the changes. * wink wink *
Let's say the data is separated by commas. This input:
Should be interpreted as 3 rows and 3 columns with all floats, the second row having a zero for its second column.
This is not what happens at the moment. Instead, the second row is ignored as it's interpreted as having only 2 columns. This doesn't make sense except in the case where the separator is a space, where many subsequent spaces are trimmed to one as a preprocessing step.
This preprocessing should only be applied when the separator is a space.
The text was updated successfully, but these errors were encountered: