On Thu, 14 Jul 2022 08:49:39 +0300, ??? ???? <nsh...@gmail.com> declaimed the following:
>Instead of numbers, I want to enter as indexes the names of the Index as >being in b variable: > labels = pd.read_csv( >"C:/Users/Administrator/Desktop/64/64/labels_64_dictionary.csv") > a=labels.to_dict() > b=a["Difumo_names"] > Dicts don't have "indexes", they have "keys" (index implies a positional look-up: first, second, ..., tenth item). Show us an example of your actual data, what it looks like in Python, and (hand-edited) what your really want the data to look like. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list