0

How to print data base

How to print database FOR EXAMPLE LEVEL: NEWBIE, LANGUAGE : ENGLISH Sp = {"language" : "English", data : {"level": "newbie", "user" : ["black"-"1234",]}}, {"language" : "English", data : {"level": "middle", "user" : ["black"-"1234",]}}, {"language" : "English", data : {"level": "amateur", "user" : ["black"-"1234",]}}, {"language" : "English", data : {"level": "hard", "user" : ["black"-"1234",]}}, {"language" : "French", data : {"level": "newbie", "user" : ["black"-"1234",]}}, {"language" : "French", data : {"level": "middle", "user" : ["black"-"1234",]}}, {"language" : "French", data : {"level": "amateur", "user" : ["black"-"1234",]}}, {"language" : "French", data : {"level": "hard", "user" : ["black"-"1234",]}}, ]

8th Apr 2020, 4:06 PM
Mary
5 ответов
+ 7
If the input file is a json file, you can also use pandas dataframe. This should be a very convenient way.
8th Apr 2020, 5:30 PM
Lothar
Lothar - avatar
8th Apr 2020, 6:26 PM
Rem Dy
Rem Dy - avatar
0
Mirielle Do I need to change the sp?
8th Apr 2020, 5:00 PM
Mary