// Display builds out a string representation of the DataFrame that is useful for debugging.
// if chunkSize is <= 0, the biggest possible chunk will be selected.
Display builds out a string representation of the DataFrame that is useful for debugging.
if chunkSize is <= 0, the biggest possible chunk will be selected.
// Display builds out a string representation of the DataFrame that is useful for debugging . // if chunkSize is < = 0 the biggest possible chunk will be selected .
func (df *DataFrame) Display(chunkSize int64) string {
	tr := array.NewTableReader(NewTableFacade(df), chunkSize)
	defer tr.Release()
	n := 0
	var output strings.Builder
	for tr.Next() {
		rec := tr.Record()
		for i, col := range rec.Columns() {
			fmt.Fprintf(&output, "rec[%d][%q]: %v\n", n, rec.ColumnName(i), col)
		}
		n++
	}
	return output.String()
}
func ( df * DataFrame ) Display ( chunkSize int64 ) string { tr := array . NewTableReader ( NewTableFacade ( df ) , chunkSize ) defer tr . Release ( ) n := 0 var output strings . Builder for tr . Next ( ) { rec := tr . Record ( ) for i , col := range rec . Columns ( ) { fmt . Fprintf ( & output , " \n " , n , rec . ColumnName ( i ) , col ) } n ++ } return output . String ( ) }
Display builds out a string representation of the DataFrame that is useful for debugging.
Display builds out a string representation of the DataFrame that is useful for debugging .