python - 在 Python 中使用 alibi 包时,模块“pandas”没有属性“DataFrame”
问题描述
我希望有人能帮助我。当我运行以下设置时,我收到以下错误。似乎是不在场证明包导致它。与此问题相关的其他帖子要么是因为 'DataFrame' 或 .py 文件名的区分大小写的拼写。
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.ERROR) # suppress deprecation messages
from tensorflow.keras import backend as K
from tensorflow.keras.layers import Dense, Input
from tensorflow.keras.models import Model, load_model
from tensorflow.keras.utils import to_categorical
import matplotlib
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
import os
from sklearn.datasets import load_boston
from alibi.explainers import CounterFactualProto
AttributeError:模块 'pandas' 没有属性 'DataFrame'
解决方案
推荐阅读
- javascript - 如何在谷歌地图上更改圆半径的颜色
- android - Xamari:RecyclerView 有时只是加载了一个完全错误的项目。我可能用错了吗?
- android - 根据孩子计算列表视图高度
- macos - Glade 不在应用程序文件夹中 (Mac)
- jquery - 如何在布局页面中实现常用jquery数据表
- java - 在 JMeter 中测试发送和接收日期
- vector - APL 有多少个整数
- python - Nautilus 3.30 上的 RabbitVCS 未打开记录器和浏览器
- webrtc - 使用 WebRTC javascript 将多个客户端连接到客户端主机
- razor-pages - how to get an image uploaded using razor page