- 1535 Views
- 2 replies
- 2 kudos
I have the Databricks VS code extension setup to develop and run jobs remotely. (with Databricks Connect).I enjoy working on notebooks within the native Databricks workspace, especially for exploratory work because I can execute blocks of code step b...
- 1535 Views
- 2 replies
- 2 kudos
Latest Reply
Hi Folks,Is there a version upgrade for the resolution to this?
1 More Replies
by
Ank
• New Contributor II
- 4490 Views
- 5 replies
- 6 kudos
I defined a dictionary variable Dict, populated it, and print(dict) in the first cell of my notebook. In the next cell, I executed the command print(dict) again. However, this time it gave me an error NameError: name 'Dict is not definedHow can that ...
- 4490 Views
- 5 replies
- 6 kudos
Latest Reply
Running pip install restarts the interpreter, meaning that any variable defined prior to the pip install is lost, so indeed the solution is so run the pip install first, or better is to add the library you want to installl directly to the cluster con...
4 More Replies
- 2803 Views
- 6 replies
- 3 kudos
Assume we have a given cellprint('A')
print('B')
print('C')I want to run only the below line.print('B')Obviously, I can seperate the cell into three and run the one I want, but this is timely. This is a feature I use so often (e.g. in pycharm) and wo...
- 2803 Views
- 6 replies
- 3 kudos
Latest Reply
@Volkan_Gumuskay This is also available as an option in the notebook run options.
5 More Replies
- 350 Views
- 0 replies
- 0 kudos
Even though the default limit on rows displayed is 10,000, the SQL cell is showing rows less than the limit when my resultant has more rows than 10k.It should alteast show the default limit .
- 350 Views
- 0 replies
- 0 kudos
by
sanq
• New Contributor II
- 1869 Views
- 3 replies
- 7 kudos
Databricks launched formatter Black which formats python cells, I can also see SQL cell getting formatted, but not sure which formatter is being used for SQL cell formatting. No clarity given on docs.
- 1869 Views
- 3 replies
- 7 kudos
Latest Reply
Hi @SANJAY qq​ Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. We'd love to hear from you.Thanks!
2 More Replies
by
KVNARK
• Honored Contributor II
- 1349 Views
- 2 replies
- 4 kudos
Suppose if the query is long one and its commented due to some issues later I wanted to run that cell, is there any shortcut to enable the entire cell. The cell is with 800 lines of code and each line is commented with # symbol and I want to enable i...
- 1349 Views
- 2 replies
- 4 kudos
Latest Reply
@KVNARK .​ Hi,If I understand correctly, you want to either comment or disable comment on your entire cell using a Shortcut.If that's the case, To do for the whole cell -> Do a Ctrl + A, then you can use Ctrl + / in Windows. It will add # to all your...
1 More Replies
by
moski
• New Contributor II
- 3531 Views
- 9 replies
- 7 kudos
Is there a shortcut to split a cell into two in Dtabricks notebook as in Jupiter notebook? in jupyter notebook it is Shift/Ctr/-
- 3531 Views
- 9 replies
- 7 kudos
Latest Reply
Hi @mundy Jim​ / All, Attached are two snapshots so first snapshot with one cell if pressed Ctrl+Alt+Minus split into two.
8 More Replies
- 783 Views
- 2 replies
- 3 kudos
Is there an option or shortcut (or is it in the pipeline) to quickly change / insert a cell to a specific language in Databricks?Triggering B + P would for instance add a new cell below with %pythonTriggering M would for instance change that cell to ...
- 783 Views
- 2 replies
- 3 kudos
Latest Reply
Hi @Oscar Dyremyhr​ ​, It would mean a lot if you could select the "Best Answer" to help others find the correct answer faster.This makes that answer appear right after the question, so it's easier to find within a thread.It also helps us mark the q...
1 More Replies
- 5530 Views
- 7 replies
- 5 kudos
Due to dependencies, if one of our cells errors then we want the notebook to stop executing.We've noticed some odd behaviour when executing notebooks depending on if "Run all cells in this notebook" is selected from the header versus "Run All Below"....
- 5530 Views
- 7 replies
- 5 kudos
Latest Reply
I second this request. It's odd that the behaviour is different when running all vs. running all below. Please make it consistent and document properly.
6 More Replies
- 2307 Views
- 6 replies
- 5 kudos
tl;dr: A cell that executes purely on the head node stops printed output during execution, but output still shows up in the cluster logs. After execution of the cell, Databricks does not notice the cell is finished and gets stuck. When trying to canc...
- 2307 Views
- 6 replies
- 5 kudos
Latest Reply
As that library work on pandas problem can be that it doesn't support pandas on spark. On the local version, you probably use non-distributed pandas. You can check behavior by switching between:import pandas as pd
import pyspark.pandas as pd
5 More Replies
- 870 Views
- 2 replies
- 0 kudos
https://docs.microsoft.com/en-us/azure/databricks/_static/notebooks/deep-learning/tfrecords-save-load.htmlI could not run the Cell # 2java.lang.ClassNotFoundException:
---------------------------------------------------------------------------
Py4JJ...
- 870 Views
- 2 replies
- 0 kudos
Latest Reply
Hi @THIAM HUAT TAN​,Which DBR version are you using? are you using the ML runtime?
1 More Replies