What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-11-21 07:18:19
sql string functions
ASCII Returns the equivalent ASCII value for a specific character. CHAR_LENGTH Returns the character length of a string. CHARACTER_ LENGTH Same as CHAR_LENGTH. CONCAT Adds expressions together, with a minimum of 2. CONCAT_WS Adds expressions together, but... Add solution -
Python 2021-10-30 04:30:20
A tokenizer that converts the input string to lowercase and then splits it by white spaces
# A tokenizer that converts the input string to lowercase and then splits it by white spaces df = spark.createDataFrame([("a b c",)], ["text"]) tokenizer = Tokenizer(inputCol="text", outputCol="words") tokenizer.tr... Add solution