We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 113ca72 commit 72f66baCopy full SHA for 72f66ba
pandas/io/formats/printing.py
@@ -259,9 +259,10 @@ def enable_data_resource_formatter(enable: bool) -> None:
259
if mimetype not in formatters:
260
# define tableschema formatter
261
from IPython.core.formatters import BaseFormatter
262
+ from traitlets import ObjectName
263
264
class TableSchemaFormatter(BaseFormatter):
- print_method = "_repr_data_resource_"
265
+ print_method = ObjectName("_repr_data_resource_")
266
_return_type = (dict,)
267
268
# register it:
0 commit comments