Skip to content

Commit

Permalink
Fixes fill_missing for struct-type columns (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristineguadelupe authored Jan 21, 2024
1 parent 73412e5 commit beeed5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/assets/data_transform_cell/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ export async function init(ctx, payload) {
operation_type="fill_missing"
label="Fill missing"
v-model="operation.column"
:options="dataFrameColumns(operation.data_options)"
:options="dataFrameColumnsWithTypes(operation.data_options)"
:index="index"
:disabled="noDataFrame"
/>
Expand Down
3 changes: 2 additions & 1 deletion lib/kino_explorer/data_transform_cell.ex
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ defmodule KinoExplorer.DataTransformCell do
"integer" => ["forward", "backward", "max", "min", "mean", "scalar"],
"string" => ["forward", "backward", "max", "min", "scalar"],
"time" => ["forward", "backward", "max", "min", "mean", "scalar"],
"list" => ["forward", "backward"]
"list" => ["forward", "backward"],
"struct" => []
}
@summarise_options %{
count: @column_types ++ @composite_column_types,
Expand Down

0 comments on commit beeed5a

Please sign in to comment.