Or, if you prefer, catch the `ImportError`, say `DataFrame = None` and catch it later. Up to you (I actually slightly prefer the latter).