🎓 Students get $100 of credits with Azure for Students! No credit card required: Sign up
Extract, Transform, and Load Operations with Python & Pandas library with Jupyter Notebooks and Azure Cosmos DB
This sample loads a csv file as a Pandas dataframe, filters the records by airports located in the United States, then the filtered data into JSON. A sample of the pared data is then loaded into Azure Cosmos DB.
Convert a filtered CSV File into JSON, then insert into Azure Cosmos DB in minutes with GitHub Codespaces
-
Create a Cosmos DB NoSQL Account, you can stop after creating the resource
-
After account is created in the Azure Portal, navigate to the resource (you can find it in your notifications)
-
To the right of the resource overview select
Keys
. locate theURI
, andPRIMARY KEY
secrets. -
Set copied secrets it as secrets in your Codespaces settings here.
URI
should be theCOSMOS_ENDPOINT
secret andPRIMARY KEY
should be theCOSMOS_KEY
secret -
Run the Notebook
-
Clean up your Cosmos DB Account Resources after you're done!