This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ref - https://colab.research.google.com/notebooks/widgets.ipynb | |
# Build and control layout dynamically through code | |
from google.colab import widgets | |
# ----GRIDS----- | |
grid = widgets.Grid(2, 2, header_row=True, header_column=True) # Grid object | |
# Grid.output_to(indices) to direct output stream to that place in the grid. | |
with grid.output_to(1, 1): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-> Markdown => Simple Markup language | |
-> Colab's MD => Rendered via marked.js and similar to those in Jupyter and Github's version | |
-> Difference: Supports Latex equations(MathJax) like Jupyter but not HTML tags | |
-> Syntax Highlighting in the code blocks | |
****************HEADINGS************** | |
# This is equivalent to an <h1> tag | |
##### This is equivalent to an <h5> tag | |
_A text in italics_ ; __A text in bold__ ; ~~strike-through text~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Execute Colab notebook on local Jupyter Runtime - https://research.google.com/colaboratory/local-runtimes.html | |
# Mount Google drive to collab notebooks to use files and folders into the notebook | |
# Ref : https://towardsdatascience.com/getting-started-with-google-colab-f2fff97f594c | |
from google.colab import drive | |
drive.mount('/content/gdrive') |
NewerOlder