how could avoid too have loop in big data

1 view (last 30 days)
I have a big data set(near to 13G). it is a table with information about different agencies at a different time(every day of 10 years). I use unique() to make groups for months and years and agencies. (is it true?) I need to calculate the mean of each agency at all month and years.how could I save time?

Accepted Answer

jonas
jonas on 21 Oct 2018
Edited: jonas on 21 Oct 2018
You can use findgroups/splitapply or put the data in a table and use varfun or grpstats.
Upload some data if you need code.
  8 Comments
Nooshin Mahmoodi
Nooshin Mahmoodi on 22 Oct 2018
thank a lot for your answer and time

Sign in to comment.

More Answers (0)

Categories

Find more on Dates and Time in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!