enter image description here See the attached screenshot. I want to delete all the rows which contain entries from 'Unnamed' column.
i know that the column can be removed by data.drop(data.columns[27], axis=1, inplace=True)
but it wont delete the entire rows with it
import pandas as pd
import numpy as np
data = pd.read_csv('/home/syed/ML-Notebook/FL-P1/DATASET_FRAUDE.csv',
engine='python',
encoding=('latin1'),
parse_dates=['FECHA_SINIESTRO','FECHA_INI_VIGENCIA','FECHA_FIN_VIGENCIA','FECHA_DENUNCIO'])
#data.drop(data.columns[27], axis=1, inplace=True)
print(data.info())