Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Include Table][Added] Support Python slicing/indexing #743

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

nguyen-v
Copy link

This PR adds python indexing/slicing functionality to the Include Table preflight.
Additional brackets can be used on the table group name to perform indexing/slicing operations.
For example, if out has 2 outputs:
kibot_table_out or kibot_table_out[1] -> first output, no slicing
kibot_table_out[2] -> second output, no slicing
kibot_table_out[2][<slicing_expr>] -> second output, with slicing expression (could be for example [:5] or [2:3])

If out has a single output:
kibot_table_out -> no slicing
kibot_table_out[<slicing_expr>] -> with slicing expression

Python slicing/indexing can be used with optional brackets, for example kibot_table_out[2][:10]
@set-soft set-soft merged commit 875ec57 into INTI-CMNB:dev Dec 17, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants