Skip to content

Commit 0b1be16

Browse files
committed
Fix BZ2File import
1 parent ffc58d3 commit 0b1be16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
WriteBuffer,
5555
)
5656
from pandas.compat import get_lzma_file
57+
from pandas.compat._compressors import BZ2File as _BZ2File
5758
from pandas.compat._optional import import_optional_dependency
58-
from pandas.compat.bz2 import BZ2File as _BZ2File
5959
from pandas.util._decorators import doc
6060
from pandas.util._exceptions import find_stack_level
6161

0 commit comments

Comments
 (0)