Efficiently remove rows from a Deedle DataFrame

37 Views Asked by At

What is the most efficient way to remove rows from a Deedle dataframe? As far as I understand, since Deedle is a column-based framework, removing rows is not a natural operation.

I tried the following way:

var commonScenarios = firstFrame.RowKeys.Intersect(secondFrame.RowKeys)
var newFirstFrame = firstFrame.Where(row => commonScenarios.Contains(row.Key))

But it's quite slow.

0

There are 0 best solutions below