I'd like to drop unnecessary rows in a file, but the data types in my raw data is stated as object. I've tried to convert it using the .astype however it did not seem to work.
df = pd.read_csv(raw_data, header=None)
print(df.dtypes) headers = ['random']
print("headers\n", headers)
df.columns = headers print(df.dtypes)
I only need the data which looks like this:
::rc=80000000:lq=135:ct=31D2
everything else is unnecessary.