sakshamj74 / IPL-Analysis

The aim of the project is to analyze the previous year's IPL data to get some interesting insights.
7 stars 22 forks source link

Change path of matches.csv in Matches.ipynb #80

Open acciptris opened 3 years ago

acciptris commented 3 years ago

Describe the bug The path to matches.csv in the second cell of Matches.ipynb is ./IPL-Analysis/Ipl Data/matches.csv. Relative path from Ipl Data/matches.csv is used in other files.

To Reproduce Steps to reproduce the behaviour:

  1. Run the second cell of Matches.ipynb while IPL-Analysis directory.

Expected behaviour The data is read successfully.

Actual behaviour File not found error.

SudhanshuBlaze commented 3 years ago

I would like to fix this issue.

sakshamj74 commented 3 years ago

@acciptris I think the path is correct there. What issue you are facing there.

acciptris commented 3 years ago

Everywhere except Matches.ipynb, while using pandas.read_csv(), Ipl Data/deliveries.csv or Ipl Data/matcches.csv is used. While in Matches.ipynb ./IPL-Analysis/Ipl Data/matches.csv is used.

So while working in IPL-Analysis and running Matches.ipynb, file not found error is produced. Meanwhile other files work as expected.

bjuspi commented 3 years ago

I've submitted a pull request. Is that the issue you meant for this bug ?