Skip to content

REF: Split up parsers into smaller files #39217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 21, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/io/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from pandas.io.json import read_json
from pandas.io.orc import read_orc
from pandas.io.parquet import read_parquet
from pandas.io.parsers import read_csv, read_fwf, read_table
from pandas.io.parsers.readers import read_csv, read_fwf, read_table
from pandas.io.pickle import read_pickle, to_pickle
from pandas.io.pytables import HDFStore, read_hdf
from pandas.io.sas import read_sas
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/clipboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def read_clipboard(sep=r"\s+", **kwargs): # pragma: no cover
raise NotImplementedError("reading from clipboard only supports utf-8 encoding")

from pandas.io.clipboard import clipboard_get
from pandas.io.parsers import read_csv
from pandas.io.parsers.readers import read_csv

text = clipboard_get()

Expand Down
2 changes: 1 addition & 1 deletion pandas/io/excel/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
maybe_convert_usecols,
pop_header_name,
)
from pandas.io.parsers import TextParser
from pandas.io.parsers.readers import TextParser

_read_excel_doc = (
"""
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

from pandas.io.common import is_url, stringify_path, urlopen, validate_header_arg
from pandas.io.formats.printing import pprint_thing
from pandas.io.parsers import TextParser
from pandas.io.parsers.readers import TextParser

_IMPORTS = False
_HAS_BS4 = False
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/json/_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
)
from pandas.io.json._normalize import convert_to_line_delimits
from pandas.io.json._table_schema import build_table_schema, parse_table_schema
from pandas.io.parsers import validate_integer
from pandas.io.parsers.readers import validate_integer

loads = json.loads
dumps = json.dumps
Expand Down
3,997 changes: 0 additions & 3,997 deletions pandas/io/parsers.py

This file was deleted.

Empty file added pandas/io/parsers/__init__.py
Empty file.
Loading