Skip to content

Commit

Permalink
[DF][NFC] Mention AsRNode in the progress bar documentation
Browse files Browse the repository at this point in the history
fixes #15040
  • Loading branch information
dpiparo committed Mar 25, 2024
1 parent 239cafe commit ac661a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tree/dataframe/src/RDataFrame.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,8 @@ ROOT::RDF::Experimental::AddProgressBar(df);
Alternatively, RDataFrame can be cast to an RNode first, giving the user more flexibility
For example, it can be called at any computational node, such as Filter or Define, not only the head node,
with no change to the ProgressBar function itself:
with no change to the ProgressBar function itself (please see the [Efficient analysis in Python](#python)
section for appropriate usage in Python):
~~~{.cpp}
ROOT::RDataFrame df("tree", "file.root");
auto df_1 = ROOT::RDF::RNode(df.Filter("x>1"));
Expand Down

0 comments on commit ac661a8

Please sign in to comment.