List and load all the datasets in Polaris #170
Unanswered
vincenzo-palmacci
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Hey @vincenzo-palmacci , thanks for asking! To answer your question, you can use Something like 👇 (not tested): import polaris as po
from polaris.hub.client import PolarisHubClient
with PolarisHubClient() as client:
datasets = client.list_datasets()
for dataset_id in datasets:
dataset = po.load_dataset(dataset_id) |
Beta Was this translation helpful? Give feedback.
3 replies
-
I would be curious to learn a little more about your use case! Would you be willing to share what you're working on because of which you want to iterate over all datasets? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone! So I would have a rather naive question, that I sadly can't figure alone.
How do I list all the datasets in Polaris so that I can load them all in an iterative way?
Beta Was this translation helpful? Give feedback.
All reactions