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

Tuple of dataframes is not printed #718

Closed
Arkoniak opened this issue Nov 26, 2020 · 1 comment
Closed

Tuple of dataframes is not printed #718

Arkoniak opened this issue Nov 26, 2020 · 1 comment

Comments

@Arkoniak
Copy link

This appeared initially here: https://discourse.julialang.org/t/why-does-multiple-return-not-work/50777/6

And it can be reproduced as follows:

## A Pluto.jl notebook ###
# v0.12.11

using Markdown
using InteractiveUtils

# ╔═╡ bc97beae-2ff4-11eb-0894-9d06e10f8b3e
begin
	using DataFrames
	using PlutoUI
end

# This one print (, ) - empty brackets with comma.
# ╔═╡ e0c619fe-2ff6-11eb-30e8-b774b1641370
let df1 = DataFrame(x = rand(10), y = rand(10)),
	df2 = DataFrame(x = rand(10), y = rand(10))
	t = (df1, df2)
end

PlutoUI work fine, i.e.

begin
	df1 = DataFrame(x = rand(10), y = rand(10))
	df2 = DataFrame(x = rand(10), y = rand(10))
	
	with_terminal() do
		println((df1, df2))
	end
end

or

let df1 = DataFrame(x = rand(10), y = rand(10)),
	df2 = DataFrame(x = rand(10), y = rand(10)),
	t = (df1, df2)
	
	Print(t)
end

show proper results.

Pluto version is 0.12.11

@fonsp
Copy link
Owner

fonsp commented Nov 26, 2020

Linked to #697

@fonsp fonsp closed this as completed in 3cbd513 Nov 26, 2020
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

2 participants