I am learning python django web framework . Reading csv file content and showing in pandas dataframe but getting error file not found. Tried all possible options using latest , alpha pyscript release .
Tried absolute path as well as relative path . When running index.html it gives csv file not found error .
CSV file is alreday there in the directory where index.html is located .
<py-env>
-numpy
- pandas
- paths:
- ./customer.csv
</py-env>
import pandas as pd
import numpy as np
df = pd.read_csv(“./customer.csv”)
print(df.head())
Schaphekar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.