# Opening multi-dim arrays in RDataFrame as flattened 1-dim array using pyROOT

**URL:** <https://root-forum.cern.ch/t/opening-multi-dim-arrays-in-rdataframe-as-flattened-1-dim-array-using-pyroot/58356>\
**Category:** Newbie\
**Tags:** python, rdataframe, root\
**Created:** [March 1, 2024, 8:54pm UTC](https://root-forum.cern.ch/t/opening-multi-dim-arrays-in-rdataframe-as-flattened-1-dim-array-using-pyroot/58356 "2024-03-01T20:54:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![queenofmice](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/q/e95f7d/32.png) [@queenofmice](https://root-forum.cern.ch/u/queenofmice)\
**Post date:** [March 1, 2024, 8:55pm UTC](https://root-forum.cern.ch/t/opening-multi-dim-arrays-in-rdataframe-as-flattened-1-dim-array-using-pyroot/58356/2 "2024-03-01T20:55:31Z")

</div>

existing post: [Flatten multi-dimensional array in rDataframe - #9 by SiewYan](https://root-forum.cern.ch/t/flatten-multi-dimensional-array-in-rdataframe/49163/9)  
the ticket: [https://its.cern.ch/jira/browse/ROOT-9509](https://its.cern.ch/jira/browse/ROOT-9509)  
my example input file: [CERNBox](https://cernbox.cern.ch/s/dEXleXUbemoDQ7l)

---

_[View the full topic](https://root-forum.cern.ch/t/opening-multi-dim-arrays-in-rdataframe-as-flattened-1-dim-array-using-pyroot/58356)._
