Skip to content

Commit ea75b4b

Browse files
committed
BUG: optionally import xlwt
1 parent 504c7f1 commit ea75b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parsers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from itertools import izip
77
from urlparse import urlparse
88
import csv
9-
import xlwt
109

1110
import numpy as np
1211

@@ -1934,6 +1933,7 @@ def to_xls(style_dict):
19341933
----------
19351934
style_dict: style dictionary to convert
19361935
"""
1936+
import xlwt
19371937
def style_to_xlwt(item, firstlevel=True, field_sep=',', line_sep=';'):
19381938
"""helper wich recursively generate an xlwt easy style string
19391939
for example:

0 commit comments

Comments
 (0)