- 4280 Views
- 3 replies
- 3 kudos
I am getting IndentationError: unindent does not match any outer indentation levelbecause the code I pasted has tabs that are 4 spaces, but the tabs in Databricks are 2 spaces. How do I fix this? Do I have to copy and paste it back out?
- 4280 Views
- 3 replies
- 3 kudos
- 4073 Views
- 3 replies
- 2 kudos
In our old workspace default identation was 2 spaces. In our new one it has changed to 4 spaces. Of course you can manually change it back to 2 spaces as we used to have, but it does not work. Does anyone know how to solve this issue?
- 4073 Views
- 3 replies
- 2 kudos
Latest Reply
You do have that option of Settings --> User Settings (Admin Settings ? not sure - I don't have admin access) --> Notebook Settings --> Default indentation for Python cells (in spaces)This will change the indentation for newer cells, but existing one...
2 More Replies
- 513 Views
- 1 replies
- 0 kudos
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' ] )...
- 513 Views
- 1 replies
- 0 kudos
Latest Reply
Hi @ lycenok! My name is Kaniz, and I'm a technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers on the Forum have an answer to your questions first. Or else I will follow up shortly with a response.