We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using the Dataframe struct. I was using some of it's methods and they were compiling. But a certain method colIndex seems to be unresolvable.
colIndex
Code:
func MapColumnNamesToIndex(df dataframe.DataFrame, columnNames []string) map[string]int { colIndexMap := make(map[string]int) for _, colName := range columnNames { if index := df.colIndex(colName); index != -1 { colIndexMap[colName] = index } } return colIndexMap }
Basically just creating a map from the column names to the indexes.
However I get the following error when compiling:
../../utils/tagUtils.go:66:18: df.colIndex undefined (type dataframe.DataFrame has no field or method colIndex)
I find this very weird, for now I have a workaround where I'm copy-pasting the implementation of colIndex, But a better fix would be much preferred.
The text was updated successfully, but these errors were encountered:
Mind you, the other methods are compiling in the other functions.
Sorry, something went wrong.
You can only call exported methods, that is methods starting with a Capital letter
No branches or pull requests
I am using the Dataframe struct.
I was using some of it's methods and they were compiling. But a certain method
colIndex
seems to be unresolvable.Code:
Basically just creating a map from the column names to the indexes.
However I get the following error when compiling:
I find this very weird, for now I have a workaround where I'm copy-pasting the implementation of colIndex,
But a better fix would be much preferred.
The text was updated successfully, but these errors were encountered: