Click or drag to resize
FrameModuleZipAlignIntoV1, V2, V, R, C Method
Aligns two data frames using both column index and row index and apply the specified operation on values of a specified type that are available in both data frames. The parameters `columnKind`, and `rowKind` can be specified to determine how the alginment works (similarly to `Join`). Column keys are always matched using `Lookup.Exact`, but `lookup` determines lookup for rows. Once aligned, the call `df1.Zip<T>(df2, f)` applies the specifed function `f` on all `T` values that are available in corresponding locations in both frames. For values of other types, the value from `df1` is returned. ## Parameters - `frame1` - First frame to be aligned and zipped with the other instance - `frame2` - Other frame to be aligned and zipped with the first instance - `columnKind` - Specifies how to align columns (inner, outer, left or right join) - `rowKind` - Specifies how to align rows (inner, outer, left or right join) - `lookup` - Specifies how to find matching value for a row (when using left or right join on rows) - `op` - A function that is applied to aligned values. The `Zip` operation is generic in the type of this function and the type of function is used to determine which values in the frames are zipped and which are left unchanged. [category:Joining, merging and zipping]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Frame<R, C> ZipAlignInto<V1, V2, V, R, C>(
	JoinKind columnKind,
	JoinKind rowKind,
	Lookup lookup,
	FSharpFunc<V1, FSharpFunc<V2, V>> op,
	Frame<R, C> frame1,
	Frame<R, C> frame2
)

Parameters

columnKind
Type: DeedleJoinKind

[Missing <param name="columnKind"/> documentation for "M:Deedle.FrameModule.ZipAlignInto``5(Deedle.JoinKind,Deedle.JoinKind,Deedle.Lookup,Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``2}},Deedle.Frame{``3,``4},Deedle.Frame{``3,``4})"]

rowKind
Type: DeedleJoinKind

[Missing <param name="rowKind"/> documentation for "M:Deedle.FrameModule.ZipAlignInto``5(Deedle.JoinKind,Deedle.JoinKind,Deedle.Lookup,Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``2}},Deedle.Frame{``3,``4},Deedle.Frame{``3,``4})"]

lookup
Type: DeedleLookup

[Missing <param name="lookup"/> documentation for "M:Deedle.FrameModule.ZipAlignInto``5(Deedle.JoinKind,Deedle.JoinKind,Deedle.Lookup,Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``2}},Deedle.Frame{``3,``4},Deedle.Frame{``3,``4})"]

op
Type: Microsoft.FSharp.CoreFSharpFuncV1, FSharpFuncV2, V

[Missing <param name="op"/> documentation for "M:Deedle.FrameModule.ZipAlignInto``5(Deedle.JoinKind,Deedle.JoinKind,Deedle.Lookup,Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``2}},Deedle.Frame{``3,``4},Deedle.Frame{``3,``4})"]

frame1
Type: DeedleFrameR, C

[Missing <param name="frame1"/> documentation for "M:Deedle.FrameModule.ZipAlignInto``5(Deedle.JoinKind,Deedle.JoinKind,Deedle.Lookup,Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``2}},Deedle.Frame{``3,``4},Deedle.Frame{``3,``4})"]

frame2
Type: DeedleFrameR, C

[Missing <param name="frame2"/> documentation for "M:Deedle.FrameModule.ZipAlignInto``5(Deedle.JoinKind,Deedle.JoinKind,Deedle.Lookup,Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``2}},Deedle.Frame{``3,``4},Deedle.Frame{``3,``4})"]

Type Parameters

V1
V2
V
R
C

Return Value

Type: FrameR, C

[Missing <returns> documentation for "M:Deedle.FrameModule.ZipAlignInto``5(Deedle.JoinKind,Deedle.JoinKind,Deedle.Lookup,Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``2}},Deedle.Frame{``3,``4},Deedle.Frame{``3,``4})"]

See Also