2023-05-25 00:59:24.485926: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. Traceback (most recent call last): File "C:\Users\马斌\Desktop\model\model\sudu.py", line 7, in <module> data = pd.read_csv('车辆:274序:4结果数据.csv') NameError: name 'pd' is not defined
时间: 2024-01-24 12:17:46 浏览: 149
tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this T
5星 · 资源好评率100%
这个错误提示意味着程序中使用了`pd`这个名称但是该名称没有被定义。通常情况下,`pd`指的是Python中的pandas库,因此可能是你没有导入pandas库导致的。你可以在程序开头加上以下代码导入pandas库:
```python
import pandas as pd
```
如果你已经导入了pandas库,那么可能是你的安装存在问题,你可以尝试重新安装pandas库。
阅读全文