def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def test_impl(df):
            B = df.A.str.split(',')
            C = pd.to_numeric(B.str.get(1), errors='coerce')
            return C