| FrameExtensionsRealignRowsR, C Method |
Align the existing data to a specified collection of row keys. Values in the data frame
that do not match any new key are dropped, new keys (that were not in the original data
frame) are assigned missing values.
## Parameters
- `frame` - Source data frame that is to be realigned.
- `keys` - A sequence of new row keys. The keys must have the same type as the original
frame keys (because the rows are realigned).
[category:Data structure manipulation]
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax public static Frame<R, C> RealignRows<R, C>(
this Frame<R, C> frame,
IEnumerable<R> keys
)
Parameters
- frame
- Type: DeedleFrameR, C
[Missing <param name="frame"/> documentation for "M:Deedle.FrameExtensions.RealignRows``2(Deedle.Frame{``0,``1},System.Collections.Generic.IEnumerable{``0})"]
- keys
- Type: System.Collections.GenericIEnumerableR
[Missing <param name="keys"/> documentation for "M:Deedle.FrameExtensions.RealignRows``2(Deedle.Frame{``0,``1},System.Collections.Generic.IEnumerable{``0})"]
Type Parameters
- R
- C
Return Value
Type:
FrameR,
C[Missing <returns> documentation for "M:Deedle.FrameExtensions.RealignRows``2(Deedle.Frame{``0,``1},System.Collections.Generic.IEnumerable{``0})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FrameR,
C. 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