Click or drag to resize
FrameExtensionsWhereTRowKey, TColumnKey Method (FrameTRowKey, TColumnKey, FuncKeyValuePairTRowKey, ObjectSeriesTColumnKey, Int32, Boolean)
Filters frame rows using the specified condtion. Returns a new data frame that contains rows for which the provided function returned false. The function is called with `KeyValuePair` containing the row key as the `Key` and `Value` gives access to the row series and a row index. ## Parameters * `frame` - A data frame to invoke the filtering function on. * `condition` - A delegate that specifies the filtering condition.

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Frame<TRowKey, TColumnKey> Where<TRowKey, TColumnKey>(
	this Frame<TRowKey, TColumnKey> frame,
	Func<KeyValuePair<TRowKey, ObjectSeries<TColumnKey>>, int, bool> condition
)

Parameters

frame
Type: DeedleFrameTRowKey, TColumnKey

[Missing <param name="frame"/> documentation for "M:Deedle.FrameExtensions.Where``2(Deedle.Frame{``0,``1},System.Func{System.Collections.Generic.KeyValuePair{``0,Deedle.ObjectSeries{``1}},System.Int32,System.Boolean})"]

condition
Type: SystemFuncKeyValuePairTRowKey, ObjectSeriesTColumnKey, Int32, Boolean

[Missing <param name="condition"/> documentation for "M:Deedle.FrameExtensions.Where``2(Deedle.Frame{``0,``1},System.Func{System.Collections.Generic.KeyValuePair{``0,Deedle.ObjectSeries{``1}},System.Int32,System.Boolean})"]

Type Parameters

TRowKey
TColumnKey

Return Value

Type: FrameTRowKey, TColumnKey

[Missing <returns> documentation for "M:Deedle.FrameExtensions.Where``2(Deedle.Frame{``0,``1},System.Func{System.Collections.Generic.KeyValuePair{``0,Deedle.ObjectSeries{``1}},System.Int32,System.Boolean})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FrameTRowKey, TColumnKey. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also