Dataframe extension integration

It's also used by ext/dataframe.py and __main__.py .  Do you think this is bad form?