DataFrame<R, C>.Clone Method

Makes a copy of the data frame.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public DataFrame<R, C> Clone()

Return Value

DataFrame<R, C>
A new data frame that is a clone of the current data frame.

Remarks

Because indexes and data frame columns are immutable, the same objects are reused in the new data frame. Changes made to the columns in the curent data frame will not affect the new data frame, and vice versa.

See Also