You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, Note: This is for cases who intent to download and use the database from the original source (see documentation) + Jupyter localhost.
As of today, I found a possible bug in the solution provided to open The App Store data set: this data set was keeping the index label and numbers at the ios_header and ios variables. Later, printing the explore_data function, was leading to inconsistent number of rows and columns.
This is the solution i implemented (feel free to adjust to a more pythonic style):
The App Store data set
opened_file = open('AppleStore.csv', encoding='utf8')
read_file = reader(opened_file)
ios = list(read_file)
#ios_header = ios[0] # Generate errors
ios_header = ios[0][1:] # Fixed
#ios = ios[1:] # Generate errors
ios = [row[1:] for row in ios][1:] # Fixed with list comprehensions
The text was updated successfully, but these errors were encountered:
Hello,
Note: This is for cases who intent to download and use the database from the original source (see documentation) + Jupyter localhost.
As of today, I found a possible bug in the solution provided to open The App Store data set: this data set was keeping the index label and numbers at the ios_header and ios variables. Later, printing the explore_data function, was leading to inconsistent number of rows and columns.
This is the solution i implemented (feel free to adjust to a more pythonic style):
The App Store data set
opened_file = open('AppleStore.csv', encoding='utf8')
read_file = reader(opened_file)
ios = list(read_file)
#ios_header = ios[0] # Generate errors
ios_header = ios[0][1:] # Fixed
#ios = ios[1:] # Generate errors
ios = [row[1:] for row in ios][1:] # Fixed with list comprehensions
The text was updated successfully, but these errors were encountered: