When I read csv file to dataframe I have two columns (below pic)
for dose_name in dose_list:
with open(dose_name,'r+',encoding="utf-8") as f:
df = pd.read_csv(f)
df_dose = df['dose']
df_dose_num = df['dose_number']
df looks like this:
I want to drop rows that have numbers and text that are unnecessary. For example, remove (eg. 1, 0, slow, 06 Jun, 95,..) and leave numbers with units (eg. 100 mg/kg, 10 mg/kg, ..) and output result as csv file.
I also have numbers (decimals eg. 10.1, 14.1) and would ideally want to remove these as well.