Describe the bug, including details regarding any error messages, version, and platform.
The method was missing the f prefix, causing it to output literal {self.type} and {self.shape} instead of actual values:
|
def __repr__(self): |
|
return """<pyarrow.SparseCOOTensor> |
|
type: {self.type} |
|
shape: {self.shape}""" |
Component(s)
Python