Sometimes you need to make a change to how things are partitioned. And that's okay! You should have the flexibility to change what your delta is partitioned by just like you can change how a table is indexed. So, here's the code you need! A couple of notes on why we are overwriting to the … Continue reading A Quick PartitionBy Switch for Delta Files
Category: Python
Python Style and Best Practices for Notebooks
Python is used often these days in notebooks. As is true in any development environment, there are best practices and good conventions for using Python in notebooks. The following is what I use in my own designs and with my teams.
Python Automated NSLOOKUP with socket.gethostbyname()
Sometimes you need to look up a list of hosts to get their IP addresses. Maybe you need to create a quick list for a hosts file, as was my case. This example also includes examples for using a list in python, creating a for loop in python, and a print statement using a custom … Continue reading Python Automated NSLOOKUP with socket.gethostbyname()