# Descriptive Statistics for extracting data

**URL:** https://discourse.paraview.org/t/descriptive-statistics-for-extracting-data/9266
**Category:** ParaView Support
**Created:** [March 23, 2022, 1:59pm UTC](https://discourse.paraview.org/t/descriptive-statistics-for-extracting-data/9266 "2022-03-23T13:59:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [March 23, 2022, 1:59pm UTC](https://discourse.paraview.org/t/descriptive-statistics-for-extracting-data/9266/1 "2022-03-23T13:59:57Z")

</div>

Dear all,

Until now in my python scripts I always used Descriptive Statistics to get data from each cell in a specific clip, however I was wondering if there is a less convoluted way to get all the data from a cell into an array?  
I usually do the following and it works but I think I am doing it more complicated than it should be:

```auto
regionData = DescriptiveStatistics(registrationName='DescriptiveStatistics1', Input=clip, ModelInput=None)
merged = MergeBlocks(registrationName='MergeBlocks1', Input=OutputPort(regionData,1))
data = dsa.WrapDataObject(servermanager.Fetch(merged))
result = np.array(data.PointData[mode])

```

Actually I think that the Descriptive Statistics filter is not needed as we can fetch directly the clip
