Using Boolean Indexing¶
Machine Learning Libraries, Computing Frames and Programming Languages
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
GPU is more accisible for average individual people. GPU is still the main tool for deep learning right now.
-
Python Distributed Computing Frameworks (Ray, Modin, etc.) servers as a mid solution …
The Best Way to Find Files and Manipulate Them
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
There are many cool (command-line) tools which can help you quickly find/locate files.
Those tools can be combined with the pipe operator |
to do further filtering or manipulation.
However,
after trying all tools I have to state that the best way for a Python user
is leveraging the pathlib
Write Documentation for Python Packages Using Sphinx
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Installation
You can install Sphinx and necessary extensions using the following command.
pip3 install sphinx sphinx-autodoc-typehints
Or simply
xinstall sphinx -ic
Since the above commands installs Sphinx to the user's local …
Hands on Dulwich
Note: dulwich is not feature complete yet and the development of the project is extremely slow. It is suggested that you use other Python packages instead. For more discussions, please refer to Git Implementations and Bindings in Python .
Tips and Traps¶
- The
git
command (and thus Dulwich) accepts URLs both with and without the trailing.git
Hands on GitPython
Tips and Traps¶
GitPython is a wrapper around the
git
command. It requires thegit
command to be on the search path in order to work. Also, sometimes it is easier to call thegit
command viasubprocess.run
directly instead of using GitPython.The
git
command (and thus GitPython) accepts URLs both with and without the trailing.git