# RDataFrame syntax more like TTree::Draw

**URL:** <https://root-forum.cern.ch/t/rdataframe-syntax-more-like-ttree-draw/31778>\
**Category:** Evolution Proposals, Apps & Ideas\
**Tags:** rdataframe\
**Created:** [November 26, 2018, 8:24pm UTC](https://root-forum.cern.ch/t/rdataframe-syntax-more-like-ttree-draw/31778 "2018-11-26T20:24:19Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mwilkins](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mwilkins/32/28332_2.png) [@mwilkins](https://root-forum.cern.ch/u/mwilkins)\
**Post date:** [December 3, 2018, 10:22pm UTC](https://root-forum.cern.ch/t/rdataframe-syntax-more-like-ttree-draw/31778/11 "2018-12-03T22:22:01Z")

</div>

Additionally, it would be nice to be able to specify a weight in a `Filter` using the string syntax, similar to `TTree::Draw`, i.e., `(weight) * (x > 10)`.

---

_[View the full topic](https://root-forum.cern.ch/t/rdataframe-syntax-more-like-ttree-draw/31778)._
