GithubHelp home page GithubHelp logo

Comments (5)

ashleydavis avatar ashleydavis commented on June 2, 2024 1

I don't think the duplicated index is a problem, in fact I rely on the index being preserved especially when the index is a date - I don't want to lose the date attached to each row.

Feel free to add a warning to the documentation.

from data-forge-ts.

ashleydavis avatar ashleydavis commented on June 2, 2024

Please feel free to make some improvements to the docs and submit a PR!

from data-forge-ts.

mz8i avatar mz8i commented on June 2, 2024

OK, will do!
Regarding the concatenation behaviour, what do you think about the current behaviour when concatenating two zero-based indices? Should it be left as-is? Are there any use cases for a dataframe with duplicate index values, or should it be considered invalid?
I'm wondering if the behaviour should at least be that a warning is printed if the index contains duplicates after the concatenation. And possibly the index gets automatically reset in such a case?

from data-forge-ts.

mz8i avatar mz8i commented on June 2, 2024

I saw you closed this recently @ashleydavis - sorry for being slow about submitting a PR, I just took a stab at the wording in #164

from data-forge-ts.

ashleydavis avatar ashleydavis commented on June 2, 2024

Thanks so much for your contribution! I really appreciate it.

from data-forge-ts.

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.