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
dangotbanned
changed the title
[internal]: Consistently use with_ prefix for "this, but with x" methods
Consistently prefix (_?)with_ for "this, but with x changed"
Mar 19, 2025
Originally posted by @dangotbanned in #2232 (comment)
Candidates
Important
from_
becomes reserved for@classmethod
(s)Compliant*._change_version()
Compliant*._with_version()
Compliant(Data|Lazy)Frame._from_native_frame()
Compliant*._with_native()
CompliantSeries._from_native_series()
(Dask|DuckDB|SparkLike)Expr._from_call()
LazyExpr._with_callable()
Expr._from_callable()
Expr._with_callable()
(Dask|DuckDB|SparkLike)ExprNameNamespace._from_alias_output_names()
LazyExprNameNamespace._with_alias_output_names()
Related
CompliantExpr._with_metadata
#2262The text was updated successfully, but these errors were encountered: