phenomenon description:
When
opens a file, the newspaper Initializing from file failed to initialize the file.
the original statement is:
df=pd.read_csv(r’ job list query by original expected date 529.csv’)
reason analysis:
is because the file path contains Chinese. Since the default engine of read_csv function is C, Chinese recognition is not supported, so this error is reported. This is a common problem when using notebook to open files.
solution:
change engine=’python’ executes successfully.
df=pd.read_csv(r’ job list query by original expected date 529. CSV ‘,engine=’python’)
p>
Read More:
- Solution of Unicode decodeerror -‘utf-8 ‘codec can’t decode byte 0xc4 in position 0 – invalid continuation byte
- Modify the default file location of the Jupiter notebook
- Error: SaveRasterFile failed: IDLnaMetadata Error:naGetMetadata-GetMetadataJob failed
- Solve the ‘UTF-8’ codec can’t decode byte 0xe9 in position 3114: invalid continuation byte error
- Change Jupyter Notebook Default Directory
- Exception: jupyter command Jupiter notebook not found
- May cause (ora-01006: binding variable does not exist) problems
- Solution of error converting data type varchar to datetime in SQL Server
- InternalError: GPU sync failed
- Bad file descriptor(C:\ci\zeromq 1602704446950\work\src\epoll.cpp:100)
- The python script tool of ArcGIS reports an error: indentationerror: unexpected indent solution
- Parsing the difference between “R” and “RB” patterns of text files (Python)
- Solution: attributeerror: type object ‘ioloop’ has no attribute ‘initialized’
- Click the button to use in the react project window.open Methods open a new page and click the data again
- ModuleNotFoundError: No module named ‘notebook‘
- The solution to the error of importing CSV from Python to Python
- Python error: command error out with exit status 1:
- Python failed to use PIL writer library. TTF, etc. oserror: cannot open resource
- Error converting jupyter notebook to PDF
- Package python3.1 + PyQt4 into exe