I need to check in a pyspark dataframe if all the values are ASCII, I do that with the following:
def is_ascii(s): if s: return all(ord(c) < 128 for