Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
You can use the method
Series.astype
to cast the type of a series.Series.astype(str)
convertsNaN
s to the string literalnan
. This is often NOT what people want. A better way is to useSeries.astype(object)
Tips on Conda
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
conda and executables installed by conda might not be able to run by sudo directly. If this happends, use the full path of the executable or add the option
-E "PATH …
Tips on ValeLang
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
My first impression is that Vale is Rust with GC. It looks interesting. However, consider that it is an language which came ealier than Rust but still in alpha stage, I …
Profiling Data Using ydata-profiling
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!