// Copy returns a copy of this dataframe. The underlying byte buffers will not be copied.
Copy returns a copy of this dataframe. The underlying byte buffers will not be copied.
// Copy returns a copy of this dataframe . The underlying byte buffers will not be copied .
func (df *DataFrame) Copy() (*DataFrame, error) {
	nCols := len(df.cols)
	cols := make([]array.Column, nCols)
	copy(cols, df.cols)
	return NewDataFrameFromShape(df.mem, cols, df.rows)
}
func ( df * DataFrame ) Copy ( ) ( * DataFrame , error ) { nCols := len ( df . cols ) cols := make ( [ ] array . Column , nCols ) copy ( cols , df . cols ) return NewDataFrameFromShape ( df . mem , cols , df . rows ) }
Copy returns a copy of this dataframe.
Copy returns a copy of this dataframe .