I use the following to delete a row:

function deleterow(df::DataFrame, row::Int)
    return df[[1:row-1, row+1:end], :]
end

The time it takes to delete 1000 rows in a 22,000-row df is about 16 seconds.

Are there more efficient ways to do it?

Reply via email to