RANJITHROSAN17 opened a new pull request, #37616: URL: https://github.com/apache/arrow/pull/37616
### Rationale for this change This pull request addresses the enhancement request outlined in GitHub issue #37592. The request is to add a `NumRows` property to the `arrow.tabular.RecordBatch` class in MATLAB's Arrow library. This enhancement aims to provide users with the ability to query the number of rows in a RecordBatch, which is a valuable functionality for data manipulation and analysis. ### What changes are included in this PR? In this PR, we have made the following changes to the code: - Added a `NumRows` property to the `arrow.tabular.RecordBatch` class. - Implemented a getter method for the `NumRows` property to retrieve the number of rows from the `arrowRecordBatch` property. ### Are these changes tested? Yes, the changes have been tested to ensure that the `NumRows` property correctly retrieves the number of rows from the underlying `arrowRecordBatch` object. Test cases have been added to validate the functionality. ### Are there any user-facing changes? Yes, this enhancement introduces a user-facing change by adding the `NumRows` property to the `arrow.tabular.RecordBatch` class. Users can now access the number of rows in a `tRecordBatch` object using `tRecordBatch.NumRows`. -- 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]
