Getting unique information from .CSV, group and average
Mostrar comentarios más antiguos
Hi all,
I have this .CSV file (attached) where I need to group and compute the average value from the information from the first column. Precisely, I need to group all 08T into one group, 07T into one group etc (05T, 04T) and compute the average from third column.
Any help in this regard is highly appreciated.
Respuestas (2)
Image Analyst
el 22 de Feb. de 2021
1 voto
I didn't look at the data, but you might want to look at splitapply() and findgroups().
1 comentario
Ganesh Naik
el 24 de Feb. de 2021
Jemima Pulipati
el 20 de Feb. de 2021
0 votos
Hello,
From my understanding, you want to extract only some row and column values from a .csv file and perform some manipulations on the retrieved data.
Te following answers from the community might help you in understanding how to extract and work on data basing on specific conditions from a .csv file.
1 comentario
Ganesh Naik
el 22 de Feb. de 2021
Editada: Ganesh Naik
el 22 de Feb. de 2021
Categorías
Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!