consistent imports in text.rst
lgtm. can you squash. ping when pushed / green.
 @SebastianRubbert docs still build fully? (note that we don't actually test this on travis, except after it is merged).
 I rebuilt the doc and I did not have errors in the files I edited. 
 merged via https://github.com/pydata/pandas/commit/5803e4c7417130536e4c12412c03c5bbaac60219

thanks!
