From b535825ed7d27979b9981437667a04571e587b17 Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Thu, 28 Feb 2019 13:59:32 -0800 Subject: [PATCH] Changed insertion order to sys.path --- doc/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/make.py b/doc/make.py index 438c4a04a3f08..75890658d7b30 100755 --- a/doc/make.py +++ b/doc/make.py @@ -323,7 +323,7 @@ def main(): # the import of `python_path` correctly. The latter is used to resolve # the import within the module, injecting it into the global namespace os.environ['PYTHONPATH'] = args.python_path - sys.path.append(args.python_path) + sys.path.insert(0, args.python_path) globals()['pandas'] = importlib.import_module('pandas') # Set the matplotlib backend to the non-interactive Agg backend for all