Durchsuchen nach
Kategorie: Informatik

Alles was mit der Informatik zu tun hat

Auswanderung: Statistische Erfassung und Bewertungen

Auswanderung: Statistische Erfassung und Bewertungen

Wie ich in meinem baldigen neuen Buch, speziell über die Auswanderung schreiben werde, muss man bei der Auswanderung immer sehr feinfühlig sein. Einfach aus dem Land heraus und nicht wissen wohin, ist einwenig blöd gedacht. Viele wandern aus und nur dahin wo sie mal im Urlaub waren. Aber im Urlaub hat, stellt man andere Ansprüche als für eine Auswanderung. Zumindest habe ich andere Ansprüche mit meinen 47 Jahren. Da die Golfregion gerade ausfällt, wäre für mich sowieso nichts. Es ist…

Weiterlesen Weiterlesen

Análisis de los precios al consumidor en Chile (2026): Un enfoque con Python

Análisis de los precios al consumidor en Chile (2026): Un enfoque con Python

Introducción: Para encontrar un ejemplo de la vida real, he analizado un archivo CSV del gobierno chileno sobre los precios oficiales al consumidor. Los datos provienen del portal datos.gob.cl. Para nuestro script, utilizamos el lenguaje Python y la biblioteca Pandas. En mi caso, también utilizo Matplotlib para la visualización. La visualización: En este caso, no utilizo un gráfico de barras típico. He creado un diagrama de rangos (también conocido como Dumbbell Plot). Al ejecutar el script, el sistema pregunta por…

Weiterlesen Weiterlesen

Calculation of a Triangle with two Unknowns with your Head and with Python

Calculation of a Triangle with two Unknowns with your Head and with Python

You have a triangle, where you only know one site and the angle. This problem comes during a test at the Tesla company of Elon Musk. This is only an example and this is nothing when you want to build a house. When you want to build a house, then you need one solution and not so many. The setup: The Mathematical Approach of the calculation: We start with the Pythagorean theorem: a2 + b2 = c2 We have to…

Weiterlesen Weiterlesen

Counting objects in a collection in MongoDB

Counting objects in a collection in MongoDB

MongoDB: Here’s a small script to count some values ​​in a collection. What can’t you do with Python? I really like statistics, especially my own. For my MongoDB database, which I use to track more data on Spain than MariaDB, I’ve written a small script to collect a lot of average values. With 521 documents, it’s interesting to know these averages. Here is a screenshot with the current results: And here’s the script for collection: