Python tiny gems: any and all functions Scenario: We need to check if any of the list elements is True
Pandas: How to do data cleaning for beginners Preparing our data for analysis / reporting takes most of the task time, but what to clean? how to clean them using Pandas functionality…
The quick, bad and dirty way to automate SSH jump connections. As you probably know on many setups the hosts are not directly accessible but there is an SSH gateway on the between (also known as…
Python: How to execute shell commands / scripts efficient Image the following scenario: every-night we execute a task the task is a shell script that copies some files remotelly.
How resume your interrupted at 99% scp operation Imagine the sad scenario: you have started an scp operation of a 10GB file over a slow non-stable line.. time passes by.. slowly and…
Python: run functions in parallel with a multiprocessing wrapper function One common way to runfunctions in parallel with Python is to use the multiprocessing module which is powerfull, it has many options to…
Pandas and Multiprocessing: How to create dataframes in a parallel way Scenario: Read a large number of xls files with pandas convert them to dataframes and concat them to a single dataframe.
How to use sshpass with scp over proxy jump In this scenario we need to get some files from server B through using server A as a proxy jump, and additionally we need to pass the…
Linux: how to recursively rename files One of the most common tasks when it comes to file manipulation is renaming files, to rename one or two files manually is easy, but how we…