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
{{ message }}
Repository navigation
Deprecate to_values and from_values and use to_coo and from_coo #293
@jim22k and I discussed this today, and we think we should very gently deprecate to_values and from_values.
Step 1 is to remove usage and reference of to_values in code and documentation and use to_coo instead, and mention to_values will be become deprecated in its docstring. Also, mention the pending deprecation in release notes.
Step 2 is to give a deprecation warning. Maybe do this in a few months
Step 3 is to remove it. Maybe in a year.
@jim22k, should we rename Vector.from_values and v.to_values? from_coo? to_sparse?
Maybe we leave Vectors as from_values. I'm struggling to come up with something better. COO could work. I don't love Sparse, even though that is what the format is called internally in suitesparse.
changed the title [-]Should we deprecate `to_values` and `from_values` and use `to_coo` and `from_coo`?[/-][+]Deprecate `to_values` and `from_values` and use `to_coo` and `from_coo`[/+]on Nov 14, 2022
Activity
eriknw commentedon Oct 27, 2022
@jim22k and I discussed this today, and we think we should very gently deprecate
to_valuesandfrom_values.Step 1 is to remove usage and reference of
to_valuesin code and documentation and useto_cooinstead, and mentionto_valueswill be become deprecated in its docstring. Also, mention the pending deprecation in release notes.Step 2 is to give a deprecation warning. Maybe do this in a few months
Step 3 is to remove it. Maybe in a year.
@jim22k, should we rename
Vector.from_valuesandv.to_values?from_coo?to_sparse?jim22k commentedon Oct 27, 2022
Maybe we leave Vectors as
from_values. I'm struggling to come up with something better. COO could work. I don't love Sparse, even though that is what the format is called internally in suitesparse.[-]Should we deprecate `to_values` and `from_values` and use `to_coo` and `from_coo`?[/-][+]Deprecate `to_values` and `from_values` and use `to_coo` and `from_coo`[/+]eriknw commentedon Nov 14, 2022
I'm in favor of deprecating
Vector.from_valuesand usingVector.from_cooinstead.eriknw commentedon Nov 17, 2022
Closed by #331