## Isolating Free iOS apps
ios_free = []
for app in english_apps_ios:
if app[4] == '0.0':
ios_free.append(english_apps_ios)
## Isolating Free Google Play Apps
googleplay_free = []
for app in english_apps_googleplay:
if app[6] == 'Free':
googleplay_free.append(english_apps_googleplay)
explore_data(ios_free, 1, 5, True)
explore_data(googleplay_free, 1, 5, True)
What I expected to happen:
An output that would give me lists with free apps isolated
What actually happened:
An error
Replace this line with the output/error
IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable --NotebookApp.iopub_data_rate_limit.
Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)
No need to increase this or any other limit for now.
Instead of appending the current row where the if condition evaluates to True, you have appended the entire list to each of the list variables you have created to capture free apps.
For instance, in this code ios_free.append(english_apps_ios) you need to append the row variable, which in your case is named as "app".
In case this is not clear, share your further doubts.