diff --git a/pandas/io/api.py b/pandas/io/api.py index e312e7bc2f300f..a7daec9ade6fc3 100644 --- a/pandas/io/api.py +++ b/pandas/io/api.py @@ -13,6 +13,7 @@ from pandas.io.sql import read_sql, read_sql_table, read_sql_query from pandas.io.sas import read_sas from pandas.io.feather_format import read_feather +from pandas.io.parquet import read_parquet from pandas.io.stata import read_stata from pandas.io.pickle import read_pickle, to_pickle from pandas.io.packers import read_msgpack, to_msgpack diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py index 1807411c1bde58..d8fcd710487460 100644 --- a/pandas/tests/io/test_parquet.py +++ b/pandas/tests/io/test_parquet.py @@ -70,8 +70,9 @@ def check_round_trip(self, df, engine, expected=None, **kwargs): expected = df tm.assert_frame_equal(result, expected) + # repeat to_parquet(df, path, engine, **kwargs) - result = read_parquet(path, engine) + result = pd.read_parquet(path, engine) if expected is None: expected = df