executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
apply-groupby-windowApply, transform, groupby aggregation, and rolling or expanding window workflows for Koalas.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a Koalas task needs custom higher-order computation, pandas UDF-style batch functions, grouped aggregation, or rolling/expanding windows.
DataFrame.apply, DataFrame.transform, DataFrame.koalas.apply_batch, DataFrame.koalas.transform_batch, and the deprecated DataFrame.map_in_pandas alias.Series.apply, Series.map, Series.transform, and Series.koalas.transform_batch.GroupBy.apply, GroupBy.transform, DataFrameGroupBy.agg/aggregate, ks.NamedAgg, grouped reductions, cumulative operations, filtering, ranking, get_group, and SeriesGroupBy-only helpers.DataFrame.rolling, Series.rolling, DataFrame.expanding, Series.expanding, plus groupby(...).rolling(...) and groupby(...).expanding(...).to_spark, Spark DataFrame.to_koalas, and Spark-column-only transforms: spark-io-sql.compute.ops_on_diff_frames, compute.shortcut_limit, default index type, plotting, and extension accessors: configuration-extensions. This sub-skill explains where those options affect apply/groupby/window choices.transform/transform_batch only when every partition or group returns the same number of rows as it received.apply/apply_batch when the result can be shorter, longer, scalar per group, or a new frame shape.agg over GroupBy.apply whenever the computation is expressible as named aggregations.