0

I am using the libary python-arango. Is there an option to read inside a Collection e.g. students the complete documents? My aim is that I can see the complete documents inside a dataframe, e.g. import pandas as pd; df=pd.json_normalize(result['...']['...']).

from arango import ArangoClient

# Initialize the ArangoDB client.
client = ArangoClient()

# Connect to database as  user.
db = client.db(<db>, username=<username>, password=<password>)

print(db.collections())
students = db.collection('students')
print(students)
mkrieger1
  • 19,194
  • 5
  • 54
  • 65
Test
  • 571
  • 13
  • 32

1 Answers1

0

You can convert this into to a list:

students = list(db.collection('students'))
EdvardM
  • 2,934
  • 1
  • 21
  • 20