What is the error

Screen Link: https://app.dataquest.io/m/350/guided-project%3A-profitable-app-profiles-for-the-app-store-and-google-play-markets/5/removing-duplicate-entries-part-two

Your Code: ```
from csv import reader
opened_file1=open(“AppleStore.csv”)
opened_file2=open(“googleplaystore.csv”)
read_file1=reader(opened_file1)
read_file2=reader(opened_file2)
apple=list(read_file1)
android=list(read_file2)

def explore_data(dataset, start, end, rows_and_columns=False):
dataset_slice=dataset[start:end]
for i in dataset_slice:
print(i)
print("\n")
if rows_and_columns:
print(“No. of rows: {}”.format(len(dataset)))
print(“No. of columns: {}”.format(len(dataset[0])))

explore_data(apple,0,4,True)
print("\n")
explore_data(android,0,4)

android_header=android[0]
print(len(android[1:]))
del android[10472]
print(len(android[1:]))

unique_android=
duplicate_android=
for app in android[1:]:
name=app[0]
if name in unique_android:
duplicate_android.append(name)
else:
unique_android.append(name)
print(“No. of duplicate rows: {}”.format(len(duplicate_android)))
print("\n")
print(unique_android[1:15])
#350 code starts
reviews_max={}
for app in android[1:]:
name=app[0]
n_reviews=float(app[3])
if name in reviews_max:
if reviews_max[name]<n_reviews:
reviews_max[name]=n_reviews
else:
reviews_max[name]=n_reviews
print(len(reviews_max)) ```

What I expected to happen: it should make the dictionary reviews_max of maximum reviews for each app. all the part runs successfully before 350 it gives following error mention below.I also check the solution link ,my code is correct.Please help.

What actually happened: ```
ValueErrorTraceback (most recent call last)
in ()
3 for app in android[1:]:
4 name = app[0]
----> 5 n_reviews = float(app[3])
6
7 if name in reviews_max and reviews_max[name] < n_reviews:

ValueError: could not convert string to float: ‘3.0M’ ```

Other details: it said could not convert string to float ‘3.0M’.

Hi @yashkr666
You can find an answer in this post
https://community.dataquest.io/t/python-fundamentals-guided-project/171480/2?u=bahmed21