Skip to content

Commit 4b8c1fd

Browse files
committed
update types: enable column names to be parsed into atIndex in addcolumn
1 parent 55778ce commit 4b8c1fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/danfojs-base/shared/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export interface DataFrameInterface extends NDframeInterface {
252252
values: Series | ArrayType1D,
253253
options?: {
254254
inplace?: boolean,
255-
atIndex?: number
255+
atIndex?: number | string
256256
}
257257
): DataFrame | void
258258
groupby(column: [string, string]): any //Update to GroupBy class later

0 commit comments

Comments
 (0)