Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

valueerror: invalid literal for int() with base 10: ' pandas

// You can't put a string value  into an INT, you either need to convert it (if  you're string is composed of and number)
// Or you need to change the variable content

// How  to convert string to  int ? 

yourVariable = int(stringVariable)

// Convert int to string

yourVariable = str(intVariable)
 
PREVIOUS NEXT
Tagged: #invalid #literal #base #pandas
ADD COMMENT
Topic
Name
1+2 =