Closed UlugbekAbdimanabov closed 2 years ago
The answer provided by Sagar Dawda can solve the probelm. Sagar suggested to use scipy.io.arff.
We can find from this page: https://stackoverflow.com/questions/46401209/how-to-convert-the-arff-object-loaded-from-a-arff-file-into-a-dataframe-format.
I quote the answer here:
import numpy as np
import pandas as pd
from scipy.io.arff import loadarff
raw_data = loadarff('Training Dataset.arff')
df_data = pd.DataFrame(raw_data[0])
I saw the same problem, did you solve it use any alternatives?