Daily Archives: March 20, 2022

Logical operators for Boolean indexing in Pandas

Boolean Indexing - passing a series of list that satisfy the specified boolean condition. The operator &, | instead of AND, OR, are the only ones that work with boolean indexing here because it's an element-wise (like bit-wise operators) operator … Continue reading

Posted in Technical | Leave a comment

Python cgi-bin

Since Hostmonster (NYGC) cannot really catch up with the new Python, I could only do Python, the older version, via cgi-bin. And use PHP's exec('python test.py'); to do the trick. test.py's permission would have to be set to 755. I've … Continue reading

Posted in Technical | Leave a comment

Upgrading Python3 - For the Web (GoDaddy)

So there was Web Scraping with Python, but what I want is the other way around: Python to html. So the answer to that is DJANGO or FLASK, server side service. Hostmonster seems to be rather outdated with Python support; … Continue reading

Posted in Technical | Leave a comment