Created
April 20, 2019 18:49
-
-
Save hamletbatista/d201613f508e55ebe6bc11eec64e09ea to your computer and use it in GitHub Desktop.
This file contains 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
database="us" | |
tommy="usa.tommy.com" | |
brand="Tommy Hilfiger" | |
tommy_df = get_seo_branded_data(brand, tommy, export_columns="Ph,Po,Tg") # only keyword, position and traffic | |
#we explicitly convert numbers to integers to be able to perform arithmetic operations later | |
convert_dict = {'Keyword': str, 'Position': int, 'Traffic': int} | |
tommy_df = tommy_df.astype(convert_dict) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment