You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to make glimpse() show column numbers? This feature would be very useful, especially when working with large datasets which require operating with column range as opposed to single columns.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
glimpse feature
glimpse col number
May 28, 2021
Interesting idea. Generally, I tend to always address columns by name, because addressing by column index can be very brittle: insert one column, and the indexes are off. I do acknowledge the use case, but I'd rather avoid encouraging addressing by column index.
Would you like to contribute a pull request that adds an optional argument to glimpse(), defaulting to NULL (=no column index)?
My knowledge of coding is poor at best, but I will look later to see if this is something I can do. I came here looking to see if this request had been made, and while I agree with the brittle-ness argument about using column indexes, when I'm working interactively sometimes with column 57 (or is it 58?), it would be nice to see the column numbers quickly using glimpse().
But it would be better if I can help myself by contributing code, so that's on me.
Is there any way to make glimpse() show column numbers? This feature would be very useful, especially when working with large datasets which require operating with column range as opposed to single columns.
The text was updated successfully, but these errors were encountered: