Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
e2c5e871
Commit
e2c5e871
authored
7 years ago
by
Enrico Guiraud
Committed by
Enric Tejedor Saavedra
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[TDF][NFC] Align user guide to reference guide
parent
c745e30a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tree/treeplayer/src/TDataFrame.cxx
+7
-7
7 additions, 7 deletions
tree/treeplayer/src/TDataFrame.cxx
with
7 additions
and
7 deletions
tree/treeplayer/src/TDataFrame.cxx
+
7
−
7
View file @
e2c5e871
...
@@ -536,21 +536,21 @@ once, a run is triggered.
...
@@ -536,21 +536,21 @@ once, a run is triggered.
### <a name="ranges"></a>Ranges
### <a name="ranges"></a>Ranges
When `TDataFrame` is not being used in a multi-thread environment (i.e. no call to `EnableImplicitMT` was made),
When `TDataFrame` is not being used in a multi-thread environment (i.e. no call to `EnableImplicitMT` was made),
`Range` transformations are available. These act very much like filters but instead of basing their decision on
`Range` transformations are available. These act very much like filters but instead of basing their decision on
a filter expression, they rely on `
start`,`stop
` and `stride` parameters.
a filter expression, they rely on `
begin`,`end
` and `stride` parameters.
- `
start`: number of entries that will be skipp
ed
be
for
e starting processing again
- `
begin`: initial entry number consider
ed for
this range.
- `
stop`: maximum number of entries that will be processed
- `
end`: final entry number (excluded) considered for this range. 0 means that the range goes until the end of the dataset.
- `stride`:
only
process one entry
every `stride` entries
- `stride`: process one entry
of the [begin, end) range every `stride` entries. Must be strictly greater than 0.
The actual number of entries processed downstream of a `Range` node will be `(
stop - start
)/stride` (or less if less
The actual number of entries processed downstream of a `Range` node will be `(
end - begin
)/stride` (or less if less
entries than that are available).
entries than that are available).
Note that ranges act "locally", not based on the global entry count: `Range(10,50)` means "skip the first 10 entries
Note that ranges act "locally", not based on the global entry count: `Range(10,50)` means "skip the first 10 entries
*that reach this node*, let the next 40 entries pass, then stop processing". If a range node hangs from a filter node,
*that reach this node*, let the next 40 entries pass, then stop processing". If a range node hangs from a filter node,
and the range has a `
start
` parameter of 10, that means the range will skip the first 10 entries *that pass the
and the range has a `
begin
` parameter of 10, that means the range will skip the first 10 entries *that pass the
preceding filter*.
preceding filter*.
Ranges allow "early quitting": if all branches of execution of a functional graph reached their `
stop
` value of
Ranges allow "early quitting": if all branches of execution of a functional graph reached their `
end
` value of
processed entries, the event-loop is immediately interrupted. This is useful for debugging and quick data explorations.
processed entries, the event-loop is immediately interrupted. This is useful for debugging and quick data explorations.
### <a name="custom-columns"></a> Custom columns
### <a name="custom-columns"></a> Custom columns
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment