![]() > 1141 for x in read_data(_loadtxt_chunksize):Ĭ:\python3.7.2\lib\site-packages\numpy\lib\npyio.py in read_data(chunk_size)ġ067 # Convert each value according to its column and store > 1 np.loadtxt(r"C:\Users\Souro\Downloads\Data.csv",delimiter=",")Ĭ:\python3.7.2\lib\site-packages\numpy\lib\npyio.py in loadtxt(fname, dtype, comments, delimiter, converters, skiprows, usecols, unpack, ndmin, encoding, max_rows) ![]() ![]() ValueError Traceback (most recent call last) Np.loadtxt(r"C:\Users\Souro\Downloads\Data.csv",delimiter=",")īut it shows the following error after compiling:. I am trying to load stock market data csv file in a jupyter note book using import numpy as np The problem might arise because of the meta-text in the. txt file that is not really written there but is copied when its content is loaded somewhere. Path = "C:\\Users\\Souro\\Downloads\\AXISBANK.csv" I think it is better to first import your text in an array or a string and then split it and save into the dataframe specifically when your data is not too large. Row = str(row).replace('\\', '') #deleting backslash
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |