return self._engine.get_loc(casted_key)
File “pandas_libs\index.pyx”, line 147, in pandas._libs.index.IndexEngine.get_loc
File “pandas_libs\index.pyx”, line 176, in pandas._libs.index.IndexEngine.get_loc
File “pandas_libs\hashtable_class_helper.pxi”, line 7080, in pandas._libs.hashtable.PyObjectHashTable.get_item
File “pandas_libs\hashtable_class_helper.pxi”, line 7088, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: ‘pano_ori_w’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “f:\potree\ceshi\py\4.py”, line 29, in <module>
w_values = data[‘pano_ori_w’]
File “C:\Users\HXH\AppData\Roaming\Python\Python39\site-packages\pandas\core\frame.py”, line 3761, in getitem
indexer = self.columns.get_loc(key)
File “C:\Users\HXH\AppData\Roaming\Python\Python39\site-packages\pandas\core\indexes\base.py”, line 3654, in get_loc
raise KeyError(key) from err
KeyError: ‘pano_ori_w’
# pano poses v1.0: ID, filename, timestamp, pano_pos_x, pano_pos_y, pano_pos_z, pano_ori_w, pano_ori_x, pano_ori_y, pano_ori_z
0, 00000-pano.jpg,1621840771,5.051966,1.606852,0.951975,0.897072,0.008447,-0.032691,0.440593
1, 00001-pano.jpg,1621840771,5.046554,1.59364,0.95162,0.899614,0.011734,-0.035363,0.435094
2, 00002-pano.jpg,1621840786,9.862248,-1.5582,0.908909,0.988106,-0.009387,-0.029321,-0.150661
3, 00003-pano.jpg,1621840795,15.215627,-0.942752,0.791544,0.922384,-0.00406,-0.028578,0.385193
4, 00004-pano.jpg,1621840803,18.0755,1.663027,0.764245,0.903776,0.006356,-0.022961,0.427342
5, 00005-pano.jpg,1621840812,21.68021,5.554437,0.769752,0.911661,-0.003939,-0.026697,0.410057
6, 00006-pano.jpg,1621840821,25.104863,9.155609,0.764334,0.920991,0.000783,-0.033854,0.38811
7, 00007-pano.jpg,1621840830,29.43778,12.745073,0.755375,0.91596,-0.001539,-0.031022,0.400065
8, 00008-pano.jpg,1621840838,31.910819,16.44031,0.759136,0.916743,0.003652,-0.033392,0.398063
9, 00009-pano.jpg,1621840848,36.864476,19.004042,0.745902,0.998805,-0.012784,-0.033561,-0.033137
10, 00010-pano.jpg,1621840857,42.072982,19.353958,0.749554,0.988166,-0.010954,-0.031703,0.149674
11, 00011-pano.jpg,1621840867,47.12045,20.64736,0.72928,0.997876,-0.011124,-0.027545,-0.057971
12, 00012-pano.jpg,1621840874,51.475842,19.440793,0.67558,0.942096,-0.024337,-0.026812,-0.333381
13, 00013-pano.jpg,1621840884,56.028286,15.880371,0.632507,0.927063,-0.021123,-0.020401,-0.373753
14, 00014-pano.jpg,1621840892,59.299466,12.981779,0.614888,0.934565,-0.01748,-0.016008,-0.355002
15, 00015-pano.jpg,1621840901,62.820852,9.474387,0.608354,0.947773,-0.005975,-0.025878,-0.317838
16, 00016-pano.jpg,1621840908,65.897766,6.818545,0.59823,0.940586,-0.018894,-0.043655,-0.336206
17, 00017-pano.jpg,1621840916,69.420574,3.735617,0.609096,0.928029,-0.023879,-0.025371,-0.370874
18, 00018-pano.jpg,1621840925,72.906323,0.434979,0.616518,0.897837,-0.01804,-0.020642,-0.439473
19, 00019-pano.jpg,1621840934,74.936184,-3.374029,0.616732,0.716761,-0.022831,-0.015959,-0.696762
20, 00020-pano.jpg,1621840943,74.862045,-8.444724,0.626725,-0.487528,0.031483,0.008719,0.872496
21, 00021-pano.jpg,1621840954,71.949178,-12.718063,0.661911,-0.440624,0.027548,0.001832,0.897267
22, 00022-pano.jpg,1621840963,68.00065,-16.936447,0.70733,-0.430393,0.032988,-0.001957,0.902036
23, 00023-pano.jpg,1621840973,63.803942,-20.906657,0.70925,-0.442256,0.02907,0.004645,0.896406
24, 00024-pano.jpg,1621840981,60.18646,-24.672672,0.711434,-0.447673,0.019877,0.001644,0.893975
25, 00025-pano.jpg,1621840991,56.580898,-29.931815,0.717433,-0.433981,0.030263,0.010455,0.900353
26, 00026-pano.jpg,1621841001,52.247,-33.906406,0.724533,-0.208993,0.028475,-0.004158,0.977494
27, 00027-pano.jpg,1621841009,47.381016,-34.782211,0.742128,0.228327,0.029268,-0.013592,0.973049
28, 00028-pano.jpg,1621841019,43.036465,-31.964461,0.726113,0.330477,0.025217,-0.010011,0.943424
29, 00029-pano.jpg,1621841029,39.302303,-28.051827,0.730584,0.356224,0.026825,-0.017242,0.933856
30, 00030-pano.jpg,1621841037,35.783351,-25.222731,0.796692,0.353636,0.017695,-0.013275,0.935121
31, 00031-pano.jpg,1621841047,32.37445,-21.908889,0.869271,0.38366,0.009001,-0.017639,0.923262
32, 00032-pano.jpg,1621841056,28.605703,-18.360468,0.873578,0.366579,0.018273,-0.017918,0.930035
33, 00033-pano.jpg,1621841065,24.8545,-14.904782,0.863979,0.333217,0.020909,-0.020165,0.942402
34, 00034-pano.jpg,1621841076,20.266362,-10.932897,0.863577,0.367513,0.024652,-0.010867,0.929628
35, 00035-pano.jpg,1621841084,16.956927,-7.972273,0.873385,0.459185,0.011489,-0.017481,0.888095
36, 00036-pano.jpg,1621841092,14.665806,-4.052787,0.847781,0.634627,0.019559,-0.020881,0.772289
37, 00037-pano.jpg,1621841101,13.956423,0.157613,0.784941,0.851847,0.017638,-0.031576,0.52254
38, 00038-pano.jpg,1621841111,13.334981,-3.571969,0.847965,0.910313,-0.017207,-0.020392,-0.413061
怎么解决