{
"First Name": "Jonathan",
"Last Name": "Thomas",
"Marital Status": "married or civil partner",
"Sex": "Male",
"Age (Years)": 46,
"Height": 160,
}
I have a 600 row data set which I gave the first row.
import pandas as pd
df = pd.read_csv("user_data.csv")
df[df["Height"].isnull()].index.tolist()
On the code that I write using the pandas library. I want to re-write that code with the same logic code
Logic is: searching elements on the column and writing the missing one into the empty list
I want to use default libraries (os, sys, time, json, csv, …) instead of pandas that I used on up. Could you help and guide me?
What I have tried:
<pre lang="text">import pandas as pd
df = pd.read_csv("user_data.csv")
df[df["Height"].isnull()].index.tolist()
On the code that I write using the pandas library. I want to re-write that code with the same logic code
Logic is: searching elements on the column and writing the missing one into the empty list
I want to use default libraries (os, sys, time, json, csv, …) instead of pandas that I used on up. Could you help and guide me?