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
I was thinking it would be nice to have some filter!-type functions, as well as the ability to rename fields. So for example, I'd like to be able to do:
to change the cm.sitenames to ["foo", "bar", "baz"]. Basically equivalent to the names! function from dataframes. And something similar for specnames! to change row names.
The other thing that would be useful would be to have the ability to do something like:
~~filter!(cm, startswith.(sitenames(cm), "b"))~~
I'm less certain how to implement this, since it would be useful to filter along both rows and columns, but I think there should be precedents in other table-creating packages. Though maybe this will be solved with the indexing stuff mentioned in #22
Only other thing is whether renaming functions should go here, or in EcoBase (I think maybe the later?)
The text was updated successfully, but these errors were encountered:
I was thinking it would be nice to have some
filter!
-type functions, as well as the ability to rename fields. So for example, I'd like to be able to do:to change the
cm.sitenames
to["foo", "bar", "baz"]
. Basically equivalent to thenames!
function from dataframes. And something similar forspecnames!
to change row names.The other thing that would be useful would be to have the ability to do something like:I'm less certain how to implement this, since it would be useful to filter along both rows and columns, but I think there should be precedents in other table-creating packages. Though maybe this will be solved with the indexing stuff mentioned in #22Only other thing is whether renaming functions should go here, or in
EcoBase
(I think maybe the later?)The text was updated successfully, but these errors were encountered: