Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#367 from douglasjacobsen/zip_r…
Browse files Browse the repository at this point in the history
…eference

Add reference to python's zip docs
  • Loading branch information
dapomeroy authored Jan 12, 2024
2 parents 65832e2 + 88c35b7 commit e950936
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ramble/docs/workspace_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@ there would be 4 experiments, each defined by a unique
Explicit Variable Zips:
^^^^^^^^^^^^^^^^^^^^^^^

A common pattern in python for iterating over multiple lists in lock-step is to
use something called a zip. For more information on how this behaves in
practice, see
`Python's zip documentation <https://docs.python.org/3.3/library/functions.html#zip>`_.

Ramble's workspace config contains syntax for defining explicit variable zips.
These zips are named grouping of variables that are related and should be
iterated over together when generating experiments.
Expand Down

0 comments on commit e950936

Please sign in to comment.