From fc97ac93e996ba23f6c60a49eed5df024eb9c9e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Thu, 29 Oct 2020 20:46:28 +0100 Subject: [PATCH] allow AbstractDataFrame in findrow --- src/dataframerow/utils.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dataframerow/utils.jl b/src/dataframerow/utils.jl index 3c503c9048..37a727bb9f 100644 --- a/src/dataframerow/utils.jl +++ b/src/dataframerow/utils.jl @@ -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) @@ -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)