'How to change syntax highlighting in Jupyter Notebook?
a = np.array([1,4,3])
b = np.array([2,-1,5])
a@b
df['A'].fillna(value=df['A'].mean())
df.fillna(value=df.mean())
For teaching purposes: I need to apply a special color in Jupyter Notebook for coding to differentiate them from variables:
a, b: black by default, ok1,4,3: Green by default, ok@: Purple by default, oknp.array( ): black >>> need to change it to a different color (blue).'A': red by default, okdf[ ]: black by default, ok.fillna(value=: black >>> need to change it to a different color (blue)..mean(): black >>> need to change it to a different color (blue).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
