Git Product home page Git Product logo

Comments (3)

nickrobinson251 avatar nickrobinson251 commented on July 17, 2024

Yeah, i think we should change this behaviour.

Discussed this with @quinnj and @Drvi and we think skipping a header / footer in data should be quote-unaware.

skipto and footerskip are intended for skipping over arbitrary data (that's not necessarily comma-separated values) at the start/end of a file. And for this skipping we should just skip past the requested the number of newlines, and not do the clever lexing we do for actual CSV data where newlines in quoted (string) data aren't "real" newlines indicating a new row of data.

from csv.jl.

enderw88 avatar enderw88 commented on July 17, 2024

I would appreciate that. I took a look through the code to see if I could do that with a local repo and my Julia-fu is not strong enough. The docs don't make any mention of any processing lines before the skipto line or after the footerskip line. It took a while to figure exactly what was going on. This is probably a corner case I ran into.

from csv.jl.

aplavin avatar aplavin commented on July 17, 2024

Probably same as #1012

from csv.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.