GithubHelp home page GithubHelp logo

Comments (11)

jtaylor205 avatar jtaylor205 commented on July 23, 2024 1

I can take this one if available

from temporian.

jtaylor205 avatar jtaylor205 commented on July 23, 2024 1

Thanks Ian! I will get to work on it within the week. I have to complete a "good first issue" task for a class I am taking and ned to get this approved so I can get to it.

from temporian.

ianspektor avatar ianspektor commented on July 23, 2024

Hey @jtaylor205 - all yours!

Let me know if any doubts arise or there's any design decisions you'd rather run by us before going ahead with the implementation.

Thanks!

from temporian.

jtaylor205 avatar jtaylor205 commented on July 23, 2024

Hi Ian,
quick question on how to install my edited version to view changes. I am trying to run pip install -e . from the directory I have my forked repository in, but I keep getting the error ERROR: Could not build wheels for temporian, which is required to install pyproject.toml-based projects . Is there something I am doing wrong there or another way to run my modified version? I'm doing this through terminal on my M2 MacBook Pro

from temporian.

ianspektor avatar ianspektor commented on July 23, 2024

Could you provide more detailed logs of the error? pip install -e . works for me, though it's not what I use to develop and might just be because poetry build has already generated necessary intermediate assets.

Safer option is to try to build the wheel with poetry with poetry build, then install the wheel that is generated under dist/.

Note that you need to have bazel installed, see Environment setup.

from temporian.

jtaylor205 avatar jtaylor205 commented on July 23, 2024

Thanks so much for that help. It makes a lot more sense and it worked. I have got it into jupyter and will work on getting the task done!

from temporian.

ianspektor avatar ianspektor commented on July 23, 2024

No worries! Hope my college had "forced" me to contribute to OSS too :)

An EventSet with 8 events and no index should be enough for the very basic test (since up to 7 events should be shown, but with 8 we should already show the first 3, then a "..." row, and then the last 3). Note however that this number should be configurable through the print_max_events variable in temporian/utils/config.py as it is now.

You can generate an EventSet with a single feature, no index, and N events like this for example:

N = 8
values = list(range(N))
evset = tp.event_set(
    timestamps=values,
    features={"f": values},
)

from temporian.

ianspektor avatar ianspektor commented on July 23, 2024

Answered to the original non-edited comment 😉. Eager to review your work!

from temporian.

ianspektor avatar ianspektor commented on July 23, 2024

Also, feel free to join our Discord if you'd like quick help while implementing this.

from temporian.

jtaylor205 avatar jtaylor205 commented on July 23, 2024

Yeah I had edited it because I had found out how to make the values. In regards to what you just said though, why would up to 7 events be shown? If you only are looking for the top 3 and bottom 3, would you not want the top three, a "..." row, and then the bottom 3? As for the discord, if I really run into trouble, I will look for help there, but I hope to be able to work it out on my own.

from temporian.

ianspektor avatar ianspektor commented on July 23, 2024

Showing first 3, then ..., then last 3 takes up 7 rows, so if the EventSet has 7 events I'd propose showing all 7 (since it takes up the same space but shows an extra row), and only start showing the ... for 8 and above :)

from temporian.

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.