Skip to content

Commit 5d65e0a

Browse files
authored
REF: Split up parsers into smaller files (#39217)
1 parent 375a3c8 commit 5d65e0a

11 files changed

+4034
-4004
lines changed

pandas/io/json/_json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
)
3939
from pandas.io.json._normalize import convert_to_line_delimits
4040
from pandas.io.json._table_schema import build_table_schema, parse_table_schema
41-
from pandas.io.parsers import validate_integer
41+
from pandas.io.parsers.readers import validate_integer
4242

4343
loads = json.loads
4444
dumps = json.dumps

pandas/io/parsers.py

-3,997
This file was deleted.

pandas/io/parsers/__init__.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from pandas.io.parsers.readers import (
2+
TextFileReader,
3+
TextParser,
4+
read_csv,
5+
read_fwf,
6+
read_table,
7+
)
8+
9+
__all__ = ["TextFileReader", "TextParser", "read_csv", "read_fwf", "read_table"]

0 commit comments

Comments
 (0)