خرید بک لینک

Vote count: 0

I have a large dataframe (3million+ rows,14 cols) showing daily hourly temperatures over a year for 346 unique latitudes and longitudes

JULDAY, D0cm, D2.5cm, ....
1       .84   .76
1       .83   .78
2       .20   .23
2       .19   .19
...
365     .026  .076
365     .025  .053

JULDAY is 365 days divided into 24 hrs (e.g. 1 hr per row, 24 rows per day) and a corresponing temperature value according to depth

I think there should be a simple solution here but caot seem to figure it out.

basically I want to sum the 24 values per day in D0cm and D2.5 etc. for all 365 unique values in JULDAY this should give me 365 values i.e. the sum of each days 24 hr values

Is it a case of creating a for loop? I am sure someone out there can point me in the right direction

Sorry if I am not explaining myself well but I am very tired...

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 10 ارديبهشت 1395 ساعت: 10:39

صفحه بندی