# Concatenate 2 TChain in RDataFrame

**URL:** <https://root-forum.cern.ch/t/concatenate-2-tchain-in-rdataframe/53449>\
**Category:** ROOT\
**Tags:** rdataframe\
**Created:** [February 3, 2023, 5:08pm UTC](https://root-forum.cern.ch/t/concatenate-2-tchain-in-rdataframe/53449 "2023-02-03T17:08:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sara\_sellam](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sara_sellam/32/27402_2.png) [@sara\_sellam](https://root-forum.cern.ch/u/sara_sellam)\
**Post date:** [February 3, 2023, 5:08pm UTC](https://root-forum.cern.ch/t/concatenate-2-tchain-in-rdataframe/53449/1 "2023-02-03T17:08:40Z")

</div>

Hi,

Please, how can we concatenate 2 TChain vertically in RDataFrame?

Regards

Sara

---

<div class="post-metadata">

**Author:** ![sara\_sellam](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sara_sellam/32/27402_2.png) [@sara\_sellam](https://root-forum.cern.ch/u/sara_sellam)\
**Post date:** [February 3, 2023, 5:30pm UTC](https://root-forum.cern.ch/t/concatenate-2-tchain-in-rdataframe/53449/2 "2023-02-03T17:30:21Z")

</div>

ok what I needed was already answered here 🙂  
[https://root-forum.cern.ch/t/merging-two-datasets-with-different-selections/53431/2](https://root-forum.cern.ch/t/merging-two-datasets-with-different-selections/53431/2)  
thanks

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 17, 2023, 5:30pm UTC](https://root-forum.cern.ch/t/concatenate-2-tchain-in-rdataframe/53449/3 "2023-02-17T17:30:52Z")

</div>

Closed on February 17, 2023, 5:30pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
