display function eats consecutive spaces

lycenok
New Contributor II

When using display, more than 1 spaces in strings are ignored. Can we change that behaviour?

Are there any options for display functions?

code example:

display( spark.createDataFrame( [ ( 'a a' , 'a a' ) ], [ 'string_column', 'string_column_2' ] ) )