This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env | |
| import pandas as pd | |
| import numpy as np | |
| # Define the diff function to show the changes in each field | |
| def report_diff(x): | |
| return x[0] if x[0] == x[1] else '{} ---> {}'.format(*x) | |
| # We want to be able to easily tell which rows have changes | |
| def has_change(row): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add the remote, call it "upstream": | |
| git remote add upstream https://github.com/whoever/whatever.git | |
| # Fetch all the branches of that remote into remote-tracking branches, | |
| # such as upstream/master: | |
| git fetch upstream | |
| # Make sure that you're on your master branch: |
OlderNewer