Tips and Traps¶
It is suggested that you use multiprocessing (e.g.,
pool_size=8
) to speed up data profiling. Note: It seems to me that currently multiprocessing only works whenminimal=True
.minimal=True
helps reuce consumed memory.profile = ProfileReport( df, title="Data Profiling Report", explorative=True, minimal=True, pool_size=8 )
Manipulate Filesystem in Golang
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Loop in Golang
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Check Whether a Path Exists in Golang
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips & Traps¶
There is no built-in function to check for the existence of a path in Golang.
However,
you can achieve it using os.Stat
+ os.IsNotExist
.
Tuple in Golang
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
Golang implements the type
Tuple
in the standard librarygo/types
, however,Tuple
is NOT a first class citizen in Golang.Multiple return parameters in Golang is implemented via
Tuple
in a limited way (sinceTuple
Tips on Golang
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!