Durchsuchen nach
Kategorie: Informatik

Alles was mit der Informatik zu tun hat

MongoDB Export a collection (general)

MongoDB Export a collection (general)

MongoDB is a NoSQL database, that stores information in documents instead of tables, and it can store a lot of information. It looks like that: test> db.test.find()[ { _id: ObjectId(’69edadcfb6b4cff75744ba89′), name: ‚Morgentest‘ } ] You see it follows the JSON standard for documents. Ok, it stores this for human-readable information, but there is a special format that is called BSON that it uses, but this is not the subject of this blog entry. If you have a full database (or…

Weiterlesen Weiterlesen

1.000 Einträge in meiner Datenbank mit MongoDB über Spanien

1.000 Einträge in meiner Datenbank mit MongoDB über Spanien

In meiner Datenbank in MongoDB, über die ich in den letzten Tagen berichtet hatte, habe ich heute am Montag den 1.000 Eintrag geschafft. Damit ist Spanien recht gut dokumentiert. Natürlich geht es immer weiter. Ich habe noch sehr viele Dokumente in der MongoDB-Datenbank aus der Anfangszeit, wo ich die Einträge als reine Strings gespeichert habe. Diese werde ich nun so nach und nach in Arrays umwandeln, damit vielen Scripte, in Python auch sehr gut funktionieren und eine hohe Trefferquote bringen….

Weiterlesen Weiterlesen

El paro en La Rioja

El paro en La Rioja

En este caso La Rioja es una comunidad autónoma en España, en el norte del país. Por qué lo hago Es siempre una buena oportunidad para programar y practicar con Python ¿Qué es Python? Python es un lenguaje de programación al alcance de cualquier persona.. El código Aquí está el código. Hay que instalar las bibliotecas de Pandas y Matplotlib con la instrucción: pip install pandas matplotlib. Con este código los datos también se guardan en formato de JSON también….

Weiterlesen Weiterlesen