Die Daten aus dem eingebauten Beispiel Dataframe mtcars werden in der Konsole ausgegeben.
The data from the built-in example data frame mtcars will be printed to the console.
Sie werden oft eine ganze Spalte auswählen wollen, nämlich eine bestimmte Variable aus einem Dataframe.
You will often want to select an entire column, namely one specific variable from a data frame.
Sie möchten Ihren Dataframe neu anordnen, so dass er mit dem kleinsten Planeten beginnt und mit dem größten Planeten endet.
You would like to rearrange your data frame such that it starts with the smallest planet and ends with the largest one.
Als Argument übergeben Sie die Vektoren von vorher: sie werden verschiedene Spalten Ihrer Dataframe bekommen.
As arguments, you pass the vectors from before: they will become the different columns of your data frame.
Ähnlich wie bei Vektoren und Matrizen wählen Sie die Elemente aus einem Dataframe mit Hilfe von eckigen Klammern [] aus.
Similar to vectors and matrices, you select elements from a data frame with the help of square brackets [].
Nun, die Funktion head() ermöglicht es Ihnen die ersten Beobachtungen von Ihrem Dataframe zu zeigen.
Well, the function head() enables you to show the first observations of a data frame.
Die Anwendung der Funktion str() wird oft das Erste sein, was Sie machen, wenn Sie einen neuen Datensatz oder Dataframe erhalten.
Applying the str() function will often be the first thing that you do when receiving a new data set or data frame.
In meinem Fall hat das Paket data.table beides getan (und noch einiges mehr), indem es die ohnehin schon brillante native Klasse dataframe über mein Vorstellungsvermögen hinaus beschleunigte, und einen Hauch von funktionaler Programmierung hinzufügte.
In my case the data.table package did both and then some more, by turbo-boosting the already brilliant native data frame class beyond what I could possibly imagine, and adding an extra flavor of functional programming.
Auf den DataFrame können wir nun Operationen ausführen.
We can now perform operations on the DataFrame.
Das erste Feld wurde beim Export der Felderliste aus dem DataFrame nicht exportiert.
The first field was not exported during the export of fields list from dataframe.
Wie man über Zeilen in einem DataFrame in Pandas iteriert?
How to iterate over rows in a DataFrame in Pandas?
Diese Operationen an Spark DataFrame Columns erfolgen mittels Transformer.
These operations on the Spark DataFrame columns are performed via Spark's user-defined functions (UDF).
Nach dem Besuch dieses Kurses werden die Teilnehmer die Grundlagen von Apache Spark verstehen, RDD klar von DataFrame unterscheiden, Python und Scala API erlernen, Ausführende und Aufgaben verstehen usw.
After taking this course the participants will understand the basics of Apache Spark, they will clearly differentiate RDD from DataFrame, they will learn Python and Scala API, they will understand executors and tasks, etc.