You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be clever, and only do newlines/pretty if the type is over some metric of complexity, perhaps just string length?
eg I would want array<string> and not
array<
string
>
I am basing these ideas off of two needs: human readbility, and being able to repro the dtype in the REPL from the output. Are there other considerations I'm not thinking of?
What is the motivation behind your request?
No response
Describe the solution you'd like
see above
What version of ibis are you running?
main
What backend(s) are you using, if any?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
We should be clever, and only do newlines/pretty if the type is over some metric of complexity, perhaps just string length?
I'd encourage you to look into the staggering complexity of pretty printing a string before taking any action on this.
We should definitely avoid anything that moves us in the direction of having to consider line breaks and string length when formatting the type string.
Is your feature request related to a problem?
This is a just a small papercut. If I have a complex dtype, the repr is hard to read, all in one line:
I think the most readable form would be a pretty-printed version of the string DSL (option A):
which is also able to be copy-pasted back into a REPL to recreate the original dtype.
Could also just do the string (option B):
We should be clever, and only do newlines/pretty if the type is over some metric of complexity, perhaps just string length?
eg I would want
array<string>
and notI am basing these ideas off of two needs: human readbility, and being able to repro the dtype in the REPL from the output. Are there other considerations I'm not thinking of?
What is the motivation behind your request?
No response
Describe the solution you'd like
see above
What version of ibis are you running?
main
What backend(s) are you using, if any?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: