I keep raising a KeyError() in pandas and im not sure why

So this is my first time using pandas and the only info i can find other than unrelated issues here is in the documentation and ive read it over several times and im not sure what im doing wrong my attempt is to pull user info from a CSV file and the current program im using to figure it out simply prints the collected data but every time i run the program it pops a KeyError but my column names are number based with names and user IDs in the table but whether its a string or integer it says the same KeyError(1).

(sensitive information removed or replaced)

input:
(ID: 1 | RID: 2)

`

import pandas as pd
import numpy as np
UDS = pd.read_csv("AEAUserData.csv")
df = pd.Series(["0", "1", "2", "3"], index=["0", "1", "2", "3"]) 
ID = input("Enter User ID: ")
RID = input("Enter receiving ID: ")
UNN = ""
PWN = ""
acitveUN = UDS.at[int(ID), 1]
activePW = UDS.at[ID, 4]
activeUS = UDS.at[ID, 2]
activeENC = UDS.at[ID, 5]
receivingUN = UDS.at[RID, 1]
receivingPW = UDS.at[RID, 4]
receivingUS = UDS.at[RID, 2]
receivingENC = UDS.at[RID, 5]

/*
commence printing everything
*`

(AEAUserData.csv)
0,1, 2, 3, 4, 5, 6,
1,FamFighter123,Lt. Dan,5,Password123,Soaring Eagle,
2,BubbaShrimp123,Gen. Bubba,3,Password456,Shrimp Boat,
3,1Forest1,Pfc. Gump,2,Password789,Life is like a box of chocolates,

Output:
`Enter User ID: 1
Enter receiving ID: 2
Traceback (most recent call last):
File “C:Users**********AppDataLocalPackagesPythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0LocalCachelocal-packagesPython312site-packagespandascoreindexesbase.py”, line 3805, in get_loc
return self._engine.get_loc(casted_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “index.pyx”, line 167, in pandas._libs.index.IndexEngine.get_loc
File “index.pyx”, line 196, in pandas._libs.index.IndexEngine.get_loc
File “pandas_libshashtable_class_helper.pxi”, line 7081, in pandas._libs.hashtable.PyObjectHashTable.get_item
File “pandas_libshashtable_class_helper.pxi”, line 7089, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 1

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

Traceback (most recent call last):
File “C:Users*Desktop**Debug_Tester.py”, line 9, in
acitveUN = UDS.at[int(ID), 1]
~~~~~~^^^^^^^^^^^^
File “C:Users*
AppDataLocalPackagesPythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0LocalCachelocal-packagesPython312site-packagespandascoreindexing.py”, line 2575, in getitem
return super().getitem(key)
^^^^^^^^^^^^^^^^^^^^^^^^
File “C:Users*
AppDataLocalPackagesPythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0LocalCachelocal-packagesPython312site-packagespandascoreindexing.py”, line 2527, in getitem
return self.obj._get_value(key, takeable=self._takeable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:Users*
AppDataLocalPackagesPythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0LocalCachelocal-packagesPython312site-packagespandascoreframe.py”, line 4214, in _get_value
series = self._get_item_cache(col)
^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:Users*
AppDataLocalPackagesPythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0LocalCachelocal-packagesPython312site-packagespandascoreframe.py”, line 4638, in _get_item_cache
loc = self.columns.get_loc(item)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:Users*
AppDataLocalPackagesPythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0LocalCachelocal-packagesPython312site-packagespandascoreindexesbase.py”, line 3812, in get_loc
raise KeyError(key) from err
KeyError: 1`

I’ve tried changing the ranges which brings up other errors and reading the documentation maybe I’m illiterate but I couldn’t find why this was happening other than I didn’t make the dataframe correctly.

New contributor

YAAT MAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật