-
Notifications
You must be signed in to change notification settings - Fork 368
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
Explanation of the deprecation of df[col] and df[cols] #1897
Comments
Here you have a summary: The issue was debated over for the last year or so so this is not an easy decision, but we decided to do it for the above reasons. Regarding updating of the deprecated syntax - I have done it for over 10 packages (also third party packages that I did not know) during the last two weeks, so I understand your pain. However, my experience was that what helps is Maybe just let me add two things:
If you are using such really long expressions where adding
This is something that can be probably opened as an issue in the syntax highlighting package for your editor. What editor do you use? |
Hey, thanks for the quick reply. Now the reasons are clear. I will update my code to the |
😄 - I mentioned dicts exactly because this is what I suspected having read your initial post and seeing that you pay attention to such details (which is actually an interesting practice I think). |
Hello, unfortunately I can only found the new syntax
df[!, col]
and how to use it but I would like to know why this decision was made in the first place.All my code is filled with
df[col]
and now I get thousands of thousands of deprecation warnings.Also, the notation
df[!, col]
is much longer (in longer calculation is can be important) and when usingdf.col
, you loose the syntax highlighting for the symbols, which makes the code less readable in my opinion.A link to the discussion would be enough, thanks.
The text was updated successfully, but these errors were encountered: