Option to trim other MIME types
Toggling on the pandas option display.html.table_schema only adds a new MIME type alongside the text/plain and text/html representations of similar size. This is a problem because people tend to output large amounts of data for use with the Data Explorer, so a significant amount of space is potentially used up by the other MIME types unnecessarily. It would be nice to have an optional parameter with the dx() function to trim the other MIME types to optimize space.
Example:
dx(df, trim_output=True)
This would remove the text/plain and text/html representations from the resulting MIME bundle.
The only downside I can think of is that if someone wants to view the notebook in another UI that does not support the Data Explorer, nothing can be shown because there are no other representations in the output. While it might be good to have the option default True, the user could at least have the escape hatch of setting it to False in case preserving the other representations is important to them (though unlikely since seeing hundreds or thousands of rows is probably not what they want).
I discovered I can disable the HTML representation in the output by setting the Pandas configuration option display.notebook_repr_html to False, but I don't see an obvious way to disable the text representation. It might make sense to simply extract the application/vnd.dataresource+json data by calling df._repr_data_resource_() and returning a custom MIME bundle.