Skip to content

Commit 5c7194b

Browse files
author
Christopher Doris
committed
remove debug printing
1 parent fdf57ce commit 5c7194b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pywrap/PyPandasDataFrame.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,18 @@ function _columns(df, columnnames, columntypes)
8181
column = pyconvert(AbstractVector{coltype}, pycolumn)
8282
else
8383
column = pyconvert(AbstractVector, pycolumn)
84-
@show colname typeof(column)
8584
if eltype(column) == Py
8685
# guess a column type based on the types of the elements
8786
ts = pybuiltins.set(pybuiltins.map(pybuiltins.type, pycolumn))
8887
Ts = Type[pyconvert_preferred_type(t) for t in ts]
8988
T = isempty(Ts) ? Any : reduce(promote_type, Ts)
9089
column = pyconvert(AbstractVector{T}, pycolumn)
91-
@show ts Ts T typeof(column)
9290
# if all items are either NaN or not Float64, convert NaN to missing
9391
if T != Float64 && Float64 in Ts && !any(x isa Float64 && !isnan(x) for x in column)
9492
Ts = Type[T for T in Ts if T != Float64]
9593
push!(Ts, Missing)
9694
T = reduce(promote_type, Ts)
9795
column = pyconvert(AbstractVector{T}, pycolumn)
98-
@show Ts T typeof(column)
9996
end
10097
end
10198
end

0 commit comments

Comments
 (0)