Skip to content

Commit

Permalink
allow AbstractDataFrame in findrow
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins committed Oct 29, 2020
1 parent b710e70 commit fc97ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dataframerow/utils.jl
Expand Up @@ -345,7 +345,7 @@ end

# Find index of a row in gd that matches given row by content, 0 if not found
function findrow(gd::RowGroupDict,
df::DataFrame,
df::AbstractDataFrame,
gd_cols::Tuple{Vararg{AbstractVector}},
df_cols::Tuple{Vararg{AbstractVector}},
row::Int)
Expand All @@ -370,7 +370,7 @@ end
# Find indices of rows in 'gd' that match given row by content.
# return empty set if no row matches
function findrows(gd::RowGroupDict,
df::DataFrame,
df::AbstractDataFrame,
gd_cols::Tuple{Vararg{AbstractVector}},
df_cols::Tuple{Vararg{AbstractVector}},
row::Int)
Expand Down

0 comments on commit fc97ac9

Please sign in to comment.