Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Chip Kent
    @chipkent
    Welcome to Deephaven chat
    Amanda L Martin
    @hythloda
    First post to Deephaven Gitter Chat!
    5 replies
    Pete Goddard
    @pete-petey
    Is there a Slack integration for this?
    Colin Alworth
    @niloc132
    yes, but we're not using any yet - we have to decide if we want just notifications, or to bridge the full room
    for the time being chip and i talked and i'll ping someone if i see someone who isn't getting the help they need (since i keep gitter open all the time)
    Amanda L Martin
    @hythloda
    And there is a DevRel here to help when needed too!
    Colin Alworth
    @niloc132
    right, i'm the coffee-powered automation if someone happens to miss it
    Amanda L Martin
    @hythloda
    Speaking of coffee. I remember an article I read on tracing our coffee from farm to cup by logging such details on a coffee blockchain. With all the supply chain issues we are having now I wonder if projects like this should be implemented with the power of Deephaven. Perhaps that will be my next exploration!
    devinrsmith
    @devinrsmith:matrix.org
    [m]
    I think slack is down? So I'm trying gitter via matrix!
    Colin Alworth
    @niloc132
    hmm, my slack at least is working well
    Devin Smith
    @devinrsmith:matrix.org
    [m]
    https://downdetector.com/status/slack/ seems to agree with me. may be a west coast issue.
    Sam
    @Melehy_gitlab
    Is there a work scheduler similar to cron on linux? Looking for a way to build a schedule to run a deephaven app to import per a specified schedule.
    1 reply
    Colin Alworth
    @niloc132
    @Melehy_gitlab cron certainly exists on linux already - though we don't presently have an easy-to-run setup for "just run this dh instance and then halt". I believe we have a ticket for it, but not finding one just yet...
    2 replies
    if you are just seeking to run a deephaven client via cron on some schedule, so as to import data into that instance, that should be doable today?
    found it - first bulletpoint of deephaven/deephaven-core#1272
    miek
    @miekkkkkkkk_twitter
    hi there. 2 days into Deephaven I'm still having trouble to figure out how do something like a simple moving average and attach that back to the original table.
    I had posted an example how to do this in Pandas here: deephaven/deephaven-core#1796
    8 replies
    Amanda L Martin
    @hythloda
    import numpy as np
    from deephaven.TableTools import newTable, doubleCol
    def my_function(A):
        total = 0
        for i in range(0, len(A)):
            total = total + A[i]
        return total
    
    dh_table = newTable(doubleCol("X", np.random.randn(10,1))).updateView("A= X_.subVector(i-2,i+1)","rolling_mean = avg(A)", "rolling_median =median(A)", "rolling_sum = sum(A)", "FuncX=my_function(A)").dropColumns("A")
    miek
    @miekkkkkkkk_twitter
    image.png
    @hythloda this is basically what we want
    24 replies
    Diego Rodriguez
    @DiegoRo60476653_twitter

    I have a table that I want to test if there is enough data before doing calculations.

    def verify_series(series: Series, min_length: int = None) -> Series:
        """If a Pandas Series and it meets the min_length of the indicator return it."""
        has_length = min_length is not None and isinstance(min_length, int)
    
        if series is not None and isinstance(series, Series):
            return None if has_length and series.size < min_length else series

    I have the data as a column as DateTime values, I want to make sure there are like 10 of those times before doing the calc.

    Diego Rodriguez
    @DiegoRo60476653_twitter
    something like if the values with A in the last 21 min from columnX have more than 12 values
    I tried the subVector but it doesn't work since the table is ticking and I have multiple group data in the table.
    1 reply
    Amanda L Martin
    @hythloda
    @DiegoRo60476653_twitter So happy you joined our Slack community!
    Paul-Armand Verhaegen
    @paularmand
    Hi, was looking into deephaven. Was wondering what the lifecycle of a job / table / dag is on deephaven. More specifically, if I were to make a session, then make a joined table, then close the session... is the table available still for other users or myself later on? ps: I'm a Data Domain architect at a news publisher in a couple of european countries. For now, I'm mainly interested in checking DH features, and I'll probably take it for a spin when the features match with our in house view on data architecture.
    7 replies