working with csv files
1. CSV files i. reading csv files from local storage df=pd.read_csv('healthcare-dataset-stroke-data.csv') ii. making your own column instead of pandas default column df=pd.read_csv('healthcare-dataset-stroke-data.csv',index_col='id') iii. reading file from some link import requests from io import StringIO url = "link name" headers = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0"} req = requests.get(url, headers=headers) data = StringIO(req.text) pd.read_csv(data) iv.if there is no column name or column name become as a temple becoming first row value pd.read_csv('test.csv',header=1) v.if you want to select only some of the colum...