4

I want to use qgrid to test a machine learning model interactively. However when loading my dataframe into qgrid I have an error with the dataframe I'm loading:

import qgrid
import pandas

# Import a CSV file and display it as a Qgrid widget
df_test = pd.read_csv('out.csv', engine='python', encoding='utf-8')
qgrid_df = qgrid.show_grid(df_test)
qgrid_df

Indeed, it returns:

'pandas.core' has no attribute 'index'

Do you know how I can handle this issue?

Revolucion for Monica
  • 2,848
  • 8
  • 39
  • 78

0 Answers0