Skip to content

Commit

Permalink
add read_parquet to top-level
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback committed Mar 31, 2017
1 parent 7a67698 commit 628b62c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pandas/io/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion pandas/tests/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 628b62c

Please sign in to comment.