queryverse / IterableTables.jl

Implementations of the TableTraits.jl interface for various packages
Other
79 stars 9 forks source link

Add Pandas.jl #42

Closed davidanthoff closed 7 years ago

davidanthoff commented 7 years ago

@malmaud This makes a Pandas.jl DataFrame an IterableTables.jl source. There are still some issues:

julia> values(df[:name]) 3-element Array{Ptr{PyCall.PyObject_struct},1}: Ptr{PyCall.PyObject_struct} @0x0000000026f58e90 Ptr{PyCall.PyObject_struct} @0x0000000026f58dc8 Ptr{PyCall.PyObject_struct} @0x0000000026f58f58


Any way for me to get a normal ``Vector{String}`` there?
- Also, what would I get for a column that has missing values?

I'll look at making it a sink soonish.
codecov-io commented 7 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d27df28). Click here to learn what that means. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #42   +/-   ##
=========================================
  Coverage          ?   79.54%           
=========================================
  Files             ?       16           
  Lines             ?      621           
  Branches          ?        0           
=========================================
  Hits              ?      494           
  Misses            ?      127           
  Partials          ?        0
Impacted Files Coverage Δ
src/IterableTables.jl 100% <ø> (ø)
src/integrations/pandas.jl 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d27df28...1db5a90. Read the comment docs.

davidanthoff commented 7 years ago

Closed in favor of JuliaPy/Pandas.jl#20.