-
Notifications
You must be signed in to change notification settings - Fork 370
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
append! fails when a column references another #3376
Comments
the fact that The question is, what would you expect/prefer:
@nalimilan - what do you think? |
I have no preference. |
@nalimilan - so we currently do the former (throw an error). Do you think we should change this and de-alias in |
I would find it a bit weird for If we wanted to fix this, it would sound more logical to have |
This is a point to consider ideed. |
I imagine there can be valid use cases for this, like if you need to store columns which could have different values but happen to be equal under different names. But these sound really marginal, and potentially dangerous. We could ask on Slack. |
This settles it for me. A simple rule is better than a complicated one. |
OK. I asked on Slack. Now a comment on the design of this if we wanted de-aliasing. We would keep an
This was an initial idea - to have a simple rule. But we want with @nalimilan to doublecheck what users prefer. Also - I will probably make an update to the docs warning about aliasing even stronger than we do now if we keep current behavior. |
Comment from Slack by: maybe we could somehow indicate aliased columns when showing data frame. |
I think it's good to stay simple/consistent. that That said, the usage of
this does generally seems nice, independently of whatever is decided here |
I'm not sure indicating aliases when printing will help a lot since with large data frames, most columns are not visible. Could we just improve |
This is a good idea. I will implement this Also for |
Hi
Please see the example below.
The way append! is implemented this fails.
I searched for existing issues, as I expected this has come up in the past (and maybe the behavior is intentional?
The text was updated successfully, but these errors were encountered: