The Architect

Modern cloud, data, and AI architecture

Discover

Latest Articles

Navigating the Data Revolution: The Pinnacle of Data Science in 2023

Introduction The realm of Data Science continues to expand with the advent of cutting-edge technologies and methodologies. The year 2023 has seen remarkable growth and evolution in data-driven practices, paving...

Exploring the Horizon: AI Advancements in 2023

Introduction Artificial Intelligence (AI) continues to evolve, opening new realms of possibilities across various sectors. 2023 has witnessed some groundbreaking advancements in AI, shaping a future where machines not only...

in - Data Science

How to use MongoDb with Python

This little tutorial shows how to use MongoDB with python. from pymongo import MongoClient import pprint import pandas as pd #Connect to mongodb client = MongoClient('mongodb://localhost:27017/', readPreference='primaryPreferred') #Connect to spark db db = client['Connect_to_Spark_db'] mentions_events = db['mentions_events'] pprint.pprint(mentions_events.find_one()) Test request...