I am trying to import data from a csv file to firestore. I got most of the code down for importing the information over, but I found out that it auto-generates a document ID for every row
Is there a way in python where I can start a document id as 0 and then for every row added, increment the document id by 1
This link shows the python script I used to import data from a csv file: Upload Data to Firebase Cloud
Besides the 10 lines from the link I used, I also added ( not sure this is the right step to take)
n=0 #initialize first doc id
const busnRef = db.collection(u'busnProfile').doc(n)
n+=1 #increment the doc number