display function eats consecutive spaces
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2021 06:30 PM
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' ] ) )
Labels:
- Labels:
-
Spaces