7.13. List of Strings to list of ints#
age=['1','2','3']
age=[int(i) for i in age]
print(age)
[1, 2, 3]
7.14. List of ints to list of strings#
age=[1,2,3]
age=[str(i) for i in age]
print(age)
['1', '2', '3']
Site Navigation
Markdown 101
Python 101
Pandas 101
Numpy 101
Matplotlib 101
Seaborn 101
Stats and Probability 101
Tableau 101
DATA 101
Domain Knowledge 101