made print_frame in get_data test know decide between float and int instead of having two different functions