Screen Link: Learn data science with Python and R projects
My Code:
os_with_null_v = laptops.loc[laptops["os_version"].isnull(),"os"]
print(os_with_null_v.value_counts())
result:
No OS 66
Linux 62
Chrome OS 27
macOS 13
Android 2
Name: os, dtype: int64
it mentioned : * The most frequent value is “No OS”. This is important to note because if there is no os, there shouldn’t be a version defined in the os_version
column.
from what I understand, “No OS” reflects to “Nan” in “os version” column, why it said it has defined as a version in the “os_version” column?