AlenkaF commented on code in PR #34980:
URL: https://github.com/apache/arrow/pull/34980#discussion_r1173454171


##########
python/pyarrow/table.pxi:
##########
@@ -1696,15 +1820,10 @@ cdef class RecordBatch(_PandasConvertible):
         except TypeError:
             return NotImplemented
 
-    def to_string(self, show_metadata=False):
-        # Use less verbose schema output.
-        schema_as_string = self.schema.to_string(
-            show_field_metadata=show_metadata,
-            show_schema_metadata=show_metadata
-        )
-        return 'pyarrow.{}\n{}'.format(type(self).__name__, schema_as_string)
-
     def __repr__(self):
+        # TODO remove this and update pytests/doctests for

Review Comment:
   I think it makes sense to have a separate PR for the changes in the doctest. 
Am looking forward to seeing a better repr for the RecordBatch also! =)



-- 
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]

Reply via email to