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

feat: add a to_json() output method #8866

Open
1 task done
Tracked by #9638
lostmygithubaccount opened this issue Apr 2, 2024 · 0 comments
Open
1 task done
Tracked by #9638

feat: add a to_json() output method #8866

lostmygithubaccount opened this issue Apr 2, 2024 · 0 comments
Labels
feature Features or general enhancements

Comments

@lostmygithubaccount
Copy link
Member

Is your feature request related to a problem?

in writing documentation/demos, I would like a to_json() method on tables for consistency with the other read_* and to_* methods

I'm not sure how JSON vs JSONL should be handled

Describe the solution you'd like

[ins] In [1]: import ibis
ibi
[nav] In [2]: t = ibis.examples.penguins.fetch()
i
[ins] In [3]: t.to_json("penguins.json")

What version of ibis are you running?

main

What backend(s) are you using, if any?

DuckDB mainly, but this should apply to any backend that supports JSON output

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Features or general enhancements
Projects
Status: backlog
Development

No branches or pull requests

1 participant