-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
generating tables from external sources #5339
Comments
Hi, it's hard to know exactly what you're trying without seeing an example. But generally the easiest way to create a Nu table from text is by using one of the
|
@jlgerber if you want to generate a table in nushell from an external source there are a few ways to do it.
|
as a concrete example, here is what i am printing to stdout
I realize that isn't valid json (just printing a list of dicts). I guess i can convert it to json and print it out... which works! |
I have a python script which prints data to stdout and it looks exactly like the documented format for tables. However, it does not generate a table. Likewise, when capturing the output to a variable and subsequently echoing the contents of the variable - no luck. Is this supposed to work? I am printing to stdout without a trailing carriage return. Is there something else required?
The text was updated successfully, but these errors were encountered: