RandomFractals / vscode-data-preview

Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-data-preview
Apache License 2.0
550 stars 59 forks source link

floating point numbers converted to integers #192

Closed amalija-ramljak closed 4 years ago

amalija-ramljak commented 4 years ago

The numeric values in a column are floored/rounded down when the first value in that column is an integer or .0 float with an arbitrary number of zeros.

Side by side .csv file and its preview, three numeric value columns Val has 1.0 in the second row and is previewed as it should be - as floats (same if its just 1) Val2 has 1.0 in the first row and is previewed as integers Val3 has 1 in the first row and is previewed as integers image

JasonSwindle commented 4 years ago

Just ran into this as well, but in Markdown:

Time Date Notes
50 blank
.5 2020-03-25 blank
image
RandomFractals commented 4 years ago

yeah, this needs more work. more info here: #156