-
Notifications
You must be signed in to change notification settings - Fork 992
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
local and global versions of .I
, .N
#1206
Comments
I agree. It'd be quite a break from backward compatibility, but that notation would be useful and a lot more intuitive. |
Quite a big chance. Not sure if the performance gain are big enough to use |
Like the idea very much, but not sure if it's possible at this stage, as it'd break a lot of code.. Where were you when this was implemented first :P? Marked as FR for now. |
In my I understand
|
Right. But |
It feels pretty natural to me, and writing, e.g. I understand (and appreciate!) the aversion to over-loading Just one more parallel to draw-- Food for thought! Thanks for the consideration. |
Or... Personally, I think it would be easier for new users if the shortcuts were revamped to not only include this extra one but also to be consistent in some sense, like
Breaking compatibility like this isn't so great, and I'd settle for |
I've added an example to the main post of when my instinct was to use |
Maybe related: it might be nice to have This would also be nice for easily tracking progress by throwing a |
How about the following scheme
|
Not sure when symbol overload kicks in... certainly most seem intuitive (though I admit I don't immediately get And why wouldn't The primary concern remains the introduction of code-breaking behavior. |
The idea is that The symbols I was trying to make a suggestion that is least breaking and most logically consistent. As it stands, it only changes the meaning of
|
Adding this potentially confusing syntax to this issue (not sure if worth fixing):
|
.I
, .N
.I
, .N
Just wanted to ping this as a great feature request -- I would very regularly use a version of |
It's always been a bit confusing to me that
.I
is "global" in the sense that it doesn't change withby
, while.N
is "local" in the sense that it does.I understand (some of) the advantages of this arrangement, but I think there are ample situations for using a local
.I
(see, e.g. 1, 2, 3, etc.) or a global.N
(e.g., 1).I'm not sure how easy this is to build into the source code, but having
.i
and.n
be "local" while.I
and.N
are "global" seems like an intuitive alternative. On the other hand, it could be painful to switch the behavior of.N
given that it's so ubiquitous indata.table
code.Throwing a hat in the ring for
.SD
and.sd
as well, since I've been tempted a few times to try.SD
with the intention of getting the full table withinby
, specifically here.The text was updated successfully, but these errors were encountered: