top of page

Python uses magic 🧙🏻‍♂️

  • Writer: Monica Kay Royal
    Monica Kay Royal
  • Sep 17, 2020
  • 1 min read

When working with Python Notebooks, there are magic commands that can be used to enhance your code


These ‘magic commands’ start with either % or %%


% prefix represents that the command operates over a single line of code whereas

%% prefix allows the command to operate over an entire cell


These magic commands are intended to solve common problems in data analysis



Also found a general Jupyter Notebook tips and tricks, which include keyboard shortcuts❕ ⌨😄


Do you use magic commands? 👇🏻


Happy Learning!!

コメント


bottom of page