Displaying 1 result from an estimated 1 matches for "datsiz".
Did you mean:
datsize
2011 Aug 03
4
slow computation of functions over large datasets
Hello there,
I’m computing the total value of an order from the price of the order items
using a “for” loop and the “ifelse” function. I do this on a large dataframe
(close to 1m lines). The computation of this function is painfully slow: in
1min only about 90 rows are calculated.
The computation time taken for a given number of rows increases with the
size of the dataset, see the example with