heronshoes commented on code in PR #15089:
URL: https://github.com/apache/arrow/pull/15089#discussion_r1057003715
##########
ruby/red-arrow/lib/arrow/table.rb:
##########
@@ -426,6 +426,14 @@ def remove_column(name_or_index)
remove_column_raw(index)
end
+ # Return column names in an Array.
+ #
+ # @return [::Array<String>] column names.
+ #
+ def column_names
+ columns.map(&:name)
+ end
Review Comment:
I cannot find a good place. Thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]