I wrote about the solutions to some problems I found from programming and data analytics. They may help you on your work. Thank you.
ezoic
Wednesday, August 29, 2018
sum case when pyspark
https://stackoverflow.com/questions/40762066/sum-of-case-when-in-pyspark
https://stackoverflow.com/questions/49524501/spark-sql-sum-based-on-multiple-cases
Wednesday, August 22, 2018
Thursday, August 16, 2018
Tuesday, August 14, 2018
An understandable article about python decorator
Here is an understandable article about python decorator:
https://www.programiz.com/python-programming/decorator
https://www.programiz.com/python-programming/decorator
Friday, August 10, 2018
Sample code for automatically log into sftp , and load a file to sftp
sample code
#!/bin/sh
HOST='HOST'
USER='USER'
PASSWD='PASS'
sshpass -p $PASSWD sftp $USER@$HOST << EOF
put file1.txt
EOF
echo "end ftp"
exit
Subscribe to:
Posts (Atom)
looking for a man
I am a mid aged woman. I was born in 1980. I do not have any kid. no complicated dating before . I am looking for a man here for marriage...
-
I tried to commit script to bitbucket using sourcetree. I first cloned from bitbucket using SSH, and I got an error, "authentication ...
-
https://github.com/boto/boto3/issues/134 import boto3 import botocore client = boto3.client('s3') result = client.list_obje...
-
Previously, I wanted to install "script" on Atom to run PHP. And there was some problem, like the firewall. So I tried atom-runner...