I am using Jupyter and I would like to read csv file from a web site. The problem I'm facing is that this file changes the name according the time of. For example, if now is 11/21/2019, 02:45:33 , than the name will be "Visao_329465_ 11212019_024533 .csv".
So I can't use just this
import pandas as pd
url="https://anythint.csv"
c=pd.read_csv(url)
Returns the error: ParserError: Error tokenizing data. C error: Expected 1 fields in line 31, saw 2
Any ideia?
Try:
import pandas as pd
url="https://anythint.csv"
c=pd.read_csv(url, error_bad_lines=False)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.