Durchsuchen nach
Schlagwort: Script

New MongoDB version on my computer

New MongoDB version on my computer

This morning I got updates on my AlmaLinux 9.8. I get the updates with an Update-Script where it checks everything on the computer. The Update script I start this script via Bash menu that I have written: The shut down script You see there are other scripts that I sometimes use of regularly (in order to shut down the computer). The shut-down script And we are the Updates of MongoDB. MongoDB Updates (with others) You see, that MongoDB comes from…

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:

Read out the Gas level from a CSV file with Python Pandas

Read out the Gas level from a CSV file with Python Pandas

The fill level of Germany’s gas storage facilities is currently very low. Too low for the situation at the end of January 2026. These levels were actually expected to be reached by the end of March. Unfortunately, the German government’s website is very slow to update the fill levels of our gas storage facilities, even though they should be updated daily. I suspect the fax machines are malfunctioning again, or too many errors are being made between the tablet and…

Weiterlesen Weiterlesen

Auswertung der Läufe (Running, Jogging) mit Python und MariaDB

Auswertung der Läufe (Running, Jogging) mit Python und MariaDB

Viele werden sich auf die vorhandenen Apps verlassen, die sie mal gekauft haben und denken, dass sie auf der sicheren Seite sind. Auf der sicheren Seite, dass sie immer an die Daten herankommen werden, die sie mal erstellt haben. Aber was ist, wenn der Anbieter, sich anderen Geschäftsinteressen zuwendet? Es gab schon immer Apps, die eingestellt worden sind. Danach waren die Daten verschwunden. Das ist natürlich blöd für jemanden, der sich auf einen Marathon vorbereiten möchte. Digitale Unabhängigkeit Eine eigene…

Weiterlesen Weiterlesen

Python Pandas Query greater than

Python Pandas Query greater than

If you have a script with Python Pandas and you want to have a query for a value that is in my case greater than 40, then you have to use this kind of command. Make sure that you have installed Python and Pandas on your computer. The CSV file is from Google Trends, and I have asked Google Trends how many search queries are there for Python Pandas all over the world. At the moment, I’m building a tool…

Weiterlesen Weiterlesen