# PM 2.5 Data analysis

**URL:** <https://community.purpleair.com/t/pm-2-5-data-analysis/10325>\
**Category:** Data\
**Created:** [September 24, 2024, 6:08am UTC](https://community.purpleair.com/t/pm-2-5-data-analysis/10325 "2024-09-24T06:08:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KevinChess](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/kevinchess/32/6485_2.png) [@KevinChess](https://community.purpleair.com/u/KevinChess)\
**Post date:** [September 24, 2024, 6:08am UTC](https://community.purpleair.com/t/pm-2-5-data-analysis/10325/1 "2024-09-24T06:08:09Z")

</div>

Hello, my question is on how to find the average of PM2.5 extracted from the csv file, for indoors.

---

<div class="post-metadata">

**Author:** ![Kieran](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/kieran/32/6220_2.png) [@Kieran](https://community.purpleair.com/u/Kieran)\
**Post date:** [September 24, 2024, 3:41pm UTC](https://community.purpleair.com/t/pm-2-5-data-analysis/10325/2 "2024-09-24T15:41:39Z")

</div>

Hi @KevinChess

I think I’ve partially answered this in a [response to your other question.](https://community.purpleair.com/t/pm-2-5-cf-analysis/10326) But if you’re getting data through the API, then the PM fields not appended with “\_a” or “\_b” are the averages.

If you’re getting data from an SD card, then you’ll want to average the fields with nothing appended and the ones appended with “\_b.”
