Durchsuchen nach
Schlagwort: Python

Geografische Angaben mit Python erstellen

Geografische Angaben mit Python erstellen

Mal angenommen, man will sich eine Weltkarte basteln mit einigen Daten für statistische Erhebungen. Ich weiß, Statistik ist heutzutage sehr unbeliebt geworden, weil man weiß, dass sie leider gefälscht wird. Die berühmte Statistik über den Klimawandel ist ja sehr bekannt. Aber es gibt ja immer noch andere Statistiken, wie zum Beispiel, wo wir am häufigsten Brot gegessen. Es geht jetzt nur um die Häufigkeit, nicht, ob man Brot gegessen kann oder nicht, ob es noch gesund ist oder nicht. Der…

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: We start with the Pythagorean theorem: a2 + b2 = c2 We have to subtract b2, then…

Weiterlesen Weiterlesen

Counting objects in a collection

Counting objects in a collection

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:

Vokabeltrainer / Vokabelbox Deutsch – Spanisch

Vokabeltrainer / Vokabelbox Deutsch – Spanisch

Ich nenne es Vokalbox. Die älteren werden noch die Karteikarte kennen. Klar, die ist es auch noch weiterhin im Handel und anscheinend ist sie noch gefragt. Aber was gibt es Besseres, als das auf dem PC zu haben? Natürlich gibt es gefühlt Vokalprogramme wie Sand am Meer und wahrscheinlich habe ich für mich die langweiligere Variante selber erstellt. Genau selber erstellt. Ich kann jetzt meinen Code beliebig verändern. Könnt ihr das mit den gekauften Programmen auch? Wahrscheinlich nicht, denn der…

Weiterlesen Weiterlesen