I can see the matching parenthesis hightlights green when I hover around them, but is it possible to add additional color syntax to them so that the matching parenthesis have different colors.
- Is there any nbextension for that?
- Is there a way to add some code to custom.js that will make it happen.
Example code:
# create new features
df = (df
.withColumn(("rooms_per_hh", F.round(col('total_rooms') / col('households'), 2)))
.withColumn(("pop_per_hh", F.round(col('pop') / col('households'), 2)))
.withColumn(("bedrooms_per_rooms", F.round(col('total_bedrooms') / col('total_rooms'), 2)))
)
I like to see different colors for different parentheses here.
Related links:
- Changing jupyter's matching parenthesis color
- Replace / remove highlighting in Jupyter Notebook with custom theme
from Jupyter notebook color different parentheses by different colors
No comments:
Post a Comment