Giter Site home page Giter Site logo

Select columns by name about tsv-utils HOT 7 CLOSED

ebay avatar ebay commented on August 14, 2024 2
Select columns by name

from tsv-utils.

Comments (7)

jondegenhardt avatar jondegenhardt commented on August 14, 2024

Yup, agreed. It's on the list.

from tsv-utils.

nickray avatar nickray commented on August 14, 2024

Is there any progress on this issue? Otherwise, I would like to start implementing towards a pull request. Are there any code guidlines besides https://ebay.github.io/tsv-utils-dlang/docs/AboutTheCode.html?

from tsv-utils.

jondegenhardt avatar jondegenhardt commented on August 14, 2024

@nickray No, I haven't had time recently to do this. It'd be great if you wanted to do it. Code guidelines are the same as Phobos (see D Style). The other key things are consistency between all the tools, primarily command line argument consistency, and unit tests. It won't be hard, but several of the tools will require some restructuring at the top-level, tsv-summarize especially. Helper functions/classes would probably make this simpler. Still, it won't be a trivial amount of work.

If you take this on, I suggest starting with a one or two tools and submit a pull request before proceeding. That'll give me a chance to provide feedback.

from tsv-utils.

wavefancy avatar wavefancy commented on August 14, 2024

Is there any progress on this issue? Very useful feature. :-)

from tsv-utils.

jondegenhardt avatar jondegenhardt commented on August 14, 2024

@wavefancy I haven't done any further work with specifying columns via names. Not sure when I'll get to it, I don't have time for it currently. Though not hard, it's a reasonable amount of work because at present all the tools assume the columns numbers are known at the conclusion of command line argument processing. There's a bit of design work involved to change this so it works smoothly and consistently across all the tools.

from tsv-utils.

jondegenhardt avatar jondegenhardt commented on August 14, 2024

Did a review of this, and some of the key internal building blocks are now available in the code. In particular, the "fields list" processing code and BufferedByLine in utils.d provide some the key abstractions. It'll still a reasonable bit of work, don't know when I'll get to it, but it's perhaps not as far off as I once thought.

from tsv-utils.

jondegenhardt avatar jondegenhardt commented on August 14, 2024

Enhancement complete as part of release v2.0.0. Yah!

from tsv-utils.

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.