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

Enhancement: Would be great if we can load dspy dataset directly from pandas dataframe #1177

Open
Anindyadeep opened this issue Jun 19, 2024 · 0 comments

Comments

@Anindyadeep
Copy link
Contributor

This would be useful for certain scenarios, where we might not be interested to save the csv (personally this was the case for me) instead directly load from some dataframe.

Here is an example:

dataloader = DataLoader()
train_dataset = dataloader.from_pandas(df=df_train, fields=["question", "query"])
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

No branches or pull requests

1 participant