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

Error in showing DataFrame with Distribution column #2310

Closed
andrstef opened this issue Jun 30, 2020 · 0 comments · Fixed by #2311
Closed

Error in showing DataFrame with Distribution column #2310

andrstef opened this issue Jun 30, 2020 · 0 comments · Fixed by #2311
Labels
Milestone

Comments

@andrstef
Copy link

in 0.21.3 and latest master, the following code results in an error when displaying the result (e.g. in the REPL). In 0.21.2 it's still working.

using DataFrames
using Distributions

df = DataFrame([Distribution], [:d])
Error showing value of type DataFrame:
ERROR: TypeError: in typeassert, expected DataType, got Type{Distribution}
Stacktrace:
 [1] compacttype(::Type, ::Int64, ::Bool) at C:\sw_source\JuliaDepot\packages\DataFrames\L8ekl\src\abstractdataframe\show.jl:100
...

This is on
Windows 10
Julia 1.4.2
Distributions 0.23.4

Thanks for looking into it!

@bkamins bkamins added the bug label Jun 30, 2020
@bkamins bkamins added this to the 1.0 milestone Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants