Skip to content

Commit 29b98f7

Browse files
committed
Move import to top
1 parent ca5fa7a commit 29b98f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/util/print_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import struct
55
import subprocess
66
import codecs
7+
import importlib
78

89

910
def get_sys_info():
@@ -98,7 +99,6 @@ def show_versions(as_json=False):
9899
deps_blob = list()
99100
for (modname, ver_f) in deps:
100101
try:
101-
import importlib
102102
mod = importlib.import_module(modname)
103103
ver = ver_f(mod)
104104
deps_blob.append((modname, ver))

0 commit comments

Comments
 (0)