Consider the following df with a df-col up front
col <- tibble::tibble(foo = 1, bar = 2, baz = 3)
df <- tibble::tibble(col = col, x = 1, y = 2, z = 3, a = 4, b = 5, c = 6)
It's pretty confusing to me that, in a narrow console, baz is dropped first. I would have expected the final c column to be dropped first
It gets particularly hard to explain when you make it even more narrow, where c is dropped and some, but not all, of the df-col columns are hidden.
I have a feeling the current rule is something like:
Hide all but the first df-col columns first, then starting hiding non-df-col columns from last to first until it fits
But I think a simpler rule overall would just be:
Hide columns from last to first until it fits
So in this case you'd just hide c, then b, then a, etc, until it fits.
Consider the following
dfwith a df-col up frontIt's pretty confusing to me that, in a narrow console,
bazis dropped first. I would have expected the finalccolumn to be dropped firstIt gets particularly hard to explain when you make it even more narrow, where
cis dropped and some, but not all, of the df-col columns are hidden.I have a feeling the current rule is something like:
But I think a simpler rule overall would just be:
So in this case you'd just hide
c, thenb, thena, etc, until it fits.