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

Heterogeneous frames and the use of the 'Frame' module in Deedle do not work when Ploly.NET is also opened #567

Open
general-rishkin opened this issue Oct 7, 2024 · 0 comments

Comments

@general-rishkin
Copy link

It seems that opening Plotly.NET in an interactive notebook along with Deedle affects the Frame module. Once Plotly.NET is opened, a heterogeneous Frame cannot be created.

The following was tested in a Polyglot interactive notebook in VSCode.
This works with only Deedle opened:

open Deedle
open Deedle.Interactive
//open Plotly.NET
let n = Series.ofValues( ["Alice"] )
let a = Series.ofValues [30]
let l = Series.ofValues ["New York"]
let state_names = ["Name"; "Age"; "City"]
let df = Frame( state_names, [n; a; l])
df

However, once Plotly.NET is opened/uncommented, it fails with:

Error: input.fsx (42,34)-(42,35) typecheck error All elements of a list must be implicitly convertible to the type of the first element, which here is 'string'. This element has type 'int'.
input.fsx (42,10)-(42,40) typecheck error The object constructor 'Frame' takes 0 argument(s) but is here given 2. The required signature is 'new: unit -> Frame.

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

1 participant