Aaron ; r-help@r-project.org
Subject: Re: [R] join/merge two data frames
On Wed, 2025-04-02 at 16:55 +, Ebert,Timothy Aaron wrote:
> Your result data frame example makes no sense to me. The price and
> executed_qty are the same for all symbols?
>
> To get it all into one data
roup and you
> > have the last time, whatever that may be.
> >
> > Again, this may not apply in your case. As you note, you are planning
> > on doing many things, one step at a time, and early stages can set up
> > your data.frames in ways that make later stages easi
Your result data frame example makes no sense to me. The price and executed_qty
are the same for all symbols?
To get it all into one data frame you need a common variable that is used to
join the data frames.
My guess is that all_trade_sample$symbol has equivalents to the variables in
token_clo
ntaining the time in a sortable format. You can then sort the
> > > data.frame by the date and then time and then group your
> > > data.frame
> > > by the date and and select only last record in each group and
> > > you
> > > have the la
ames in ways that make later stages easier to do. As one
> example, you could create a column in early stages that marks if the
> current row is a closing row or not.
>
> -Original Message-----
> From: R-help On Behalf Of Arnaud
> Gaboury
> Sent: Wednesday, April 2, 2025 2
"BTCUSDT", "BTCUSDT", "BTCUSDT", "BTCUSDT"
)), row.names = c(NA, -5L), class = c("data.table", "data.frame"
), .internal.selfref = )
[1]https://cran.r-project.org/web/packages/binancer/binancer.pdf
>
> -Original Message-
>
On Wed, 2025-04-02 at 16:55 +, Ebert,Timothy Aaron wrote:
> Your result data frame example makes no sense to me. The price and
> executed_qty are the same for all symbols?
>
> To get it all into one data frame you need a common variable that is
> used to join the data frames.
> My guess is t
7 matches
Mail list logo