-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
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
Feature/write dataframe auto order df columns #1142
Feature/write dataframe auto order df columns #1142
Conversation
…eAndSpaceInsensitive column-dimension recognition
…AndSpaceInsensitive logic check on dimension order in combination with the new column additions.
Nice work @Kevin-Dekker! Thank you. I see that you suggest doing the column ordering by default. Regarding the |
Added the argument to Let's double check the others on the naming for |
Hi both, well done! Just a minor suggestion - we could simplify the code slightly by lowercasing the column names in df. It might look something like this:
|
@Kevin-Dekker, @vmitsenko, @rclapp Is it acceptable for us to mutate the passed data frame? I think we need to take the performance hit, make a copy of the data frame early in the function, and then work on the copy. |
@vmitsenko |
Good point. I think we shouldn't mutate the inserted argument. People may reuse a dataframe they've sent to tm1 (for instance by aggregating the data and sending it to another cube with slightly different dimensionality). |
Automatically infer the column order if it deviates from the dimension order in the target cube. Case and space insensitive.