I\'ve created a for loop which creates a url string, then sends it to a API, then converts the data to a json file and binds it to a dataframe. The problem that I\'m facing