Ben Chuanlong Du's Blog

It is never too late to learn.

Return a New Object Or Mutate the Existing Object

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Generally speaking, prefer to return a new object rather than mutating the existing object. This is true in most programming languages besides C who seeks for best peformance.

The pandas package …

Spark vs Redshift

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://www.quora.com/Spark-vs-Redshift-Should-I-be-using-both-for-big-data-Which-is-better

Performance

https://dbseer.com/benchmark-comparison-spark-sql-redshift-cluster/

Redshift vs …

Disable Jedi in IPython

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

In the meantime, looks like there is a way one can disable jedi in ipython with Completer.use_jedi: https://ipython.readthedocs.io/en/stable/config/options/terminal.html

Specifically you can …

Print Colored Text in Terminal

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://stackoverflow.com/questions/287871/how-to-print-colored-text-in-terminal-in-python