| FrameModuleRealignRowsR, 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:Sorting and index manipulation]
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax public static Frame<R, C> RealignRows<R, C>(
IEnumerable<R> keys,
Frame<R, C> frame
)
Parameters
- keys
- Type: System.Collections.GenericIEnumerableR
[Missing <param name="keys"/> documentation for "M:Deedle.FrameModule.RealignRows``2(System.Collections.Generic.IEnumerable{``0},Deedle.Frame{``0,``1})"]
- frame
- Type: DeedleFrameR, C
[Missing <param name="frame"/> documentation for "M:Deedle.FrameModule.RealignRows``2(System.Collections.Generic.IEnumerable{``0},Deedle.Frame{``0,``1})"]
Type Parameters
- R
- C
Return Value
Type:
FrameR,
C[Missing <returns> documentation for "M:Deedle.FrameModule.RealignRows``2(System.Collections.Generic.IEnumerable{``0},Deedle.Frame{``0,``1})"]
See Also