Durchsuchen nach
Schlagwort: Python

MongoDB – Queries with Python

MongoDB – Queries with Python

This is an article for people who have already installed MongoDB on their pc and want to do more with a Python script and the database. Installed version of MongoDB What is Pymongo? Pymongo is like a toolbox that allows your Python programme to communicate with the MongoDB database. Think of it this way: MongoDB is the large chest of drawers containing your data, and Pymongo is the set of tools your Python programme needs to open drawers, insert new…

Weiterlesen Weiterlesen

Python MySQL create a database and a table

Python MySQL create a database and a table

This is a Python script in order to create first the database and then a table with different values in one step. It is useful, then you don’t need to do it in two steps. What is the requirement for the script Installation of Python Windows and Mac For this script, you need to install Python if you are on Windows and Mac. Go to the official web page of Python.org and download your package and installed like another program….

Weiterlesen Weiterlesen

Data science Python Pandas, statistics

Data science Python Pandas, statistics

I have created the same script as before now with Python Pandas. What is Pandas? Pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool,built on top of the Python programming language. How I get this pandas? You have to install this module. If you have already installed Python, then you have to install Pandas with the following command in your command line (terminal): pip3 install pandas How to use this module In…

Weiterlesen Weiterlesen

Data science: Python statistic module

Data science: Python statistic module

In the in-build modules, Python has its own statistic module. You don’t need to install it. You can calculate your for example the mean and median. What is the mean? In mathematics and statistics, the arithmetic mean, arithmetic average, or just the mean or average is the sum of a collection of numbers divided by the count of numbers in the collection. The collection is often a set of results from an experiment, an observational study, or a survey. The…

Weiterlesen Weiterlesen