Human: How to gracefully fallback to `NaN` value while reading integers from a CSV with Pandas? Assistant: 
Here is some code to read CSV file 'my.csv' into a dataframe `df` with datatype of float for column 'my_column' considering character 'n/a' as NaN value

df = pd.read_csv('my.csv', dtype={'my_column': np.float64}, na_values=['n/a'])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.