Comments (7)
sure, here is an example of such a CSV. these are results from sports betting contests. let me know if it helps!
from csv.jl.
cc: @Liozou
from csv.jl.
Thank you for reporting this! Would it be possible for you to share the offending CSV?
I put this as an error precisely to get this kind CSVs reported here. There should indeed be no apparent issue/crash since a fallback was implemented, but it signals a possible mistake in the code and in any case it causes a severe performance drop for CSV parsing (since it falls back to a single thread).
I guess it should be displayed as a warning instead of an error when we can internally check that the cause of this is well-known (i.e. newlines inside quoted fields) and there is nothing more to be done than let the user know of the expected performance loss.
from csv.jl.
The root issue is that starting from line 30 (Gummypecs (2/3)
), each line only contains 10 columns instead of 12, i.e. there should be two more commas at the end of each line. But the @error
message is quite misleading here I agree, I'll try to fix that.
from csv.jl.
cool! thank you for the quick responses
from csv.jl.
btw this is not fixed for me :)
maybe it is because I set silencewarnings = true
, so it is never true that numwarnings[] > 0
?
from csv.jl.
I think this is just because the latest released version of CSV.jl does not include the bugfix. You can try to ]dev CSV
just to check that the bug is indeed fixed. @quinnj would you mind tagging a new patch version?
Otherwise, in the code, both versions of the warnings are under the condition that !ctx.silencewarnings
so nothing should appear, unless I'm missing something...
from csv.jl.
Related Issues (20)
- Formatting issues in examples
- Cannot compile this package on Julia 1.9.1 in Ubuntu 22.04 container HOT 3
- "Missing" Values HOT 2
- Keyword `decimal` not respected for AbstractFloats in CSV.write()
- Can't transfer CSV.jl v0.10.11 from Windows to Linux HOT 2
- CSV.write somehow cannot write file with name `con.csv` in Windows?! HOT 5
- Add Zenodo badge to README HOT 6
- Segfault on Julia 1.9 on Intel Sapphire Rapids during precompilation
- `bufsize` of `write` is defined to be length of row but actually cells
- can not read the csv with large cells written by itself HOT 1
- Formatting broken on Examples page in documentation HOT 2
- CSV.jl fails to precompile on Ubuntu server, v0.10.5 and up. HOT 2
- Error on CSV.read attempt HOT 4
- `emptyvalue` keyword option
- CSV.Chunks splits file into uneven chunks
- CSV.jl errors on nightly
- Incorrect results for `argmax` with multithreaded parsing
- CSV is failing PkgEval HOT 4
- Error when combining single row with multiple row CSV file into a DataFrame with pooling on. HOT 1
- `Date` types should not be inferred from column
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csv.jl.