0c6da430326da115149983bc9ac52df76f0e2c3f,integration_test/packages/run_pandas.py,PandasSample,read_excel,#PandasSample#,138

Before Change


        
        file_name = os.path.join(self.data_dir, "dataframe.xls")
        print(("Loading data:", file_name))
        data = pd.read_excel(file_name)
        print("Data:")
        print((data))

    def read_hdf(self):

After Change


        Use pandas.read_excel to load dataframe.xls.
        
        file_name = os.path.join(self.data_dir, "dataframe.xls")
        pd.read_excel(file_name)

    def read_hdf(self):
        
        Use pandas.read_hdf to load dataframe.hdf.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: recipy/recipy
Commit Name: 0c6da430326da115149983bc9ac52df76f0e2c3f
Time: 2016-10-28
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/packages/run_pandas.py
Class Name: PandasSample
Method Name: read_excel


Project Name: ericmjl/pyjanitor
Commit Name: 00a2806d35c72a036be50416243faf1438882892
Time: 2018-07-26
Author: ericmajinglong@gmail.com
File Name: tests/test_functions.py
Class Name:
Method Name: test_convert_excel_date


Project Name: ericmjl/pyjanitor
Commit Name: 9dd4d67b2604517b5f49048df0a489af2f6160ce
Time: 2018-11-04
Author: ericmajinglong@gmail.com
File Name: examples/example.py
Class Name:
Method Name: