https://bugs.kde.org/show_bug.cgi?id=498982
Bug ID: 498982 Summary: When importing a CSV file, columns can get erroneously converted to int if they start with a long string of zeroes, leading to data loss. Classification: Applications Product: LabPlot2 Version: latest Platform: Flatpak OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: frontend Assignee: alexander.se...@web.de Reporter: realkpa...@gmail.com Target Milestone: --- SUMMARY When importing a CSV file, columns can get erroneously converted to int if they start with a long string of whole number entries, leading to data loss. STEPS TO REPRODUCE 1. create a CSV file. One of the columns has "0" in it for the first 2000 lines, followed by 2000 lines containing "0.3". 2. import the CSV into LabPlot2 OBSERVED RESULT The column that starts with a long list of "0" is imported as an "Integer", which rounds all its entries to a whole number. Since the rest of the column contains values smaller than 1, all entries are lost. EXPECTED RESULT Option 1: The software detects the non-zero entries and selects a Double datatype. Option 2: The user can override the automatic assignment of "Integer" in the custom filter options. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 41, using LabPlot2 from Flathub ADDITIONAL INFORMATION There is workaround for this issue: using a text editor, change the "0" in the first data row to "0.0". -- You are receiving this mail because: You are watching all bug changes.