// ReadFile reads from the named file and populates the dataframe
ReadFile reads from the named file and populates the dataframe
// ReadFile reads from the named file and populates the dataframe
func (dfr *DFReader) ReadFile(filename string) (*DF, error) {
	file, err := os.Open(filename)
	if err != nil {
		return nil, err
	}
	defer file.Close()
	return dfr.Read(file, "file: "+filename)
}
func ( dfr * DFReader ) ReadFile ( filename string ) ( * DF , error ) { file , err := os . Open ( filename ) if err != nil { return nil , err } defer file . Close ( ) return dfr . Read ( file , " " + filename ) }
ReadFile reads from the named file and populates the dataframe
ReadFile reads from the named file and populates the dataframe