Skip to content

pandasx / wideToLong

Function: wideToLong() ​

wideToLong(df, stubnames, i, j, o?): DataFrame

Defined in: src/pivot.ts:387

Wide → long by column stub names, like pd.wide_to_long.

Parameters ​

ParameterType
dfDataFrame
stubnamesstring | readonly string[]
istring | readonly string[]
jstring
o{ sep?: string; suffix?: string; }
o.sep?string
o.suffix?string

Returns ​

DataFrame

Released under the MIT License.