Skip to content

Explicitly create DataFrame#23

Open
jeetsukumaran wants to merge 1 commit into
sdwfrost:masterfrom
jeetsukumaran:js-dev
Open

Explicitly create DataFrame#23
jeetsukumaran wants to merge 1 commit into
sdwfrost:masterfrom
jeetsukumaran:js-dev

Conversation

@jeetsukumaran
Copy link
Copy Markdown

The example in the README would fail with:

ERROR: LoadError: MethodError: Cannot `convert` an object of type Matrix{Int64} to an object of type DataFrames.DataFrame

Closest candidates are:
  convert(::Type{DataFrames.DataFrame}, ::DataFrames.SubDataFrame)
   @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/subdataframe/subdataframe.jl:319
  convert(::Type{T}, ::T) where T
   @ Base Base.jl:84
  DataFrames.DataFrame(::Matrix)
   @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/dataframe/dataframe.jl:400
  ...

at ``Gillespie.ssa_data()`` . 

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

Successfully merging this pull request may close these issues.

1 participant