# Send TH1,TH2 objects from cpp macro to python for conversion to np arrays

**URL:** <https://root-forum.cern.ch/t/send-th1-th2-objects-from-cpp-macro-to-python-for-conversion-to-np-arrays/52372>\
**Category:** Newbie\
**Tags:** python, tmva, root\
**Created:** [November 15, 2022, 12:29pm UTC](https://root-forum.cern.ch/t/send-th1-th2-objects-from-cpp-macro-to-python-for-conversion-to-np-arrays/52372 "2022-11-15T12:29:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [November 15, 2022, 1:31pm UTC](https://root-forum.cern.ch/t/send-th1-th2-objects-from-cpp-macro-to-python-for-conversion-to-np-arrays/52372/2 "2022-11-15T13:31:14Z")

</div>

Welcome to the ROOT Forum!  
Did you try to search the forum? [Search results for 'histograms to np arrays' - ROOT Forum](https://root-forum.cern.ch/search?q=histograms%20to%20np%20arrays)  
For example: [Extract data from histogram as numpy array](https://root-forum.cern.ch/t/extract-data-from-histogram-as-numpy-array/24274)

---

_[View the full topic](https://root-forum.cern.ch/t/send-th1-th2-objects-from-cpp-macro-to-python-for-conversion-to-np-arrays/52372)._
