This error is reported because the length of a string is 47, and the’d null ‘string will be obtained at the end of slicing, while the binary function of int() conversion cannot process null characters, resulting in an error
Solution: let a variable store the slice result first. At this time,’d ‘is not passed to int()
Read More:
- dtype=np.int error: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`.
- Python Openyxl Error: AttributeError: ‘int‘ object has no attribute ‘upper‘ [How to Solve]
- Python 3.X error: valueerror: data type must provide an itemsize
- [How to Solve] Python TypeError: ‘int‘ object is not subscriptable
- Python ValueError: only 2 non-keyword arguments accepted
- How to Solve Python WARNING: Ignoring invalid distribution -ip (e:\python\python_dowmload\lib\site-packages)
- How to Solve Python Xlwt ValueError: More than 4094 XFs (styles)
- Invalid python sd, Fatal Python error: init_fs_encoding: failed to get the Python cod [How to Solve]
- Python PIP TypeError: expected str, bytes or os.PathLike object, not int
- Python Valueerror: cannot index with vector containing Na / Nan values
- Python errors: valueerror: if using all scalar values, you must pass an index (four solutions)
- [Solved] Error “incorrect padding” in decoding of Base64 module in Python
- [Solved] ValueError: only one element tensors can be converted to Python scalars
- [Solved] python Error: ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.
- [Solved] YOLOv5 Error: SyntaxError: EOL while scanning string literal
- Python Pandas Typeerror: invalid type comparison
- ValueError: Found array with dim 4. Estimator expected and ValueError: Expected 2D array, got 1D array i
- [Solved] Python WARNING: Ignoring invalid distribution -umpy
- [Solved] Python operate Kafka error: SyntaxError: invalid syntax