Skip to content

Commit

Permalink
Use Kernel.Array instead of to_a
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkn committed May 20, 2024
1 parent 9e639d0 commit 048c9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/charty/table_adapters/pandas_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def [](key)
when PyCall::Tuple
key
else
PyCall::Tuple.new(*key.to_a)
PyCall::Tuple.new(*Array(key))
end
Charty::Table.new(@groupby.get_group(key))
end
Expand Down

0 comments on commit 048c9a5

Please sign in to comment.