Skip to content

Commit 8aad7d4

Browse files
committed
Remove pandas version check
1 parent 9bef4b1 commit 8aad7d4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

edgar/core.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from functools import wraps
1515
from pathlib import Path
1616
from typing import Union, Optional, Tuple, List, TypeVar, Callable, Iterable
17-
17+
from packaging import version
1818
import httpx
1919
import pandas as pd
2020
import pyarrow as pa
@@ -29,9 +29,6 @@
2929

3030
log = logging.getLogger(__name__)
3131

32-
# Pandas version
33-
pandas_version = tuple(map(int, pd.__version__.split('.')))
34-
3532
# sys version
3633
python_version = tuple(map(int, sys.version.split()[0].split('.')))
3734

@@ -47,7 +44,6 @@
4744
'IntString',
4845
'sec_dot_gov',
4946
'get_identity',
50-
'pandas_version',
5147
'python_version',
5248
'set_identity',
5349
'strtobool',

0 commit comments

Comments
 (0)