45f9ca7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python # coding: utf-8 # In[ ]: # Function to check if the string is a number def is_number(x): if type(x) == str: x = x.replace(',', '') try: float(x) except: return False return True