Using DataFrames
If you measure n
variables (each of a different type) of a single object of observation, then you get a table with n
columns for each object row. If there are m
observations, then we have m
rows of data. For example, given the student grades as data, you might want to know "compute the average grade for each socioeconomic group
", where grade
and socioeconomic group
are both columns in the table, and there is one row per student.
The DataFrame is the most natural representation to work with such a (m x n) table of data. They are similar to pandas DataFrames in Python or data.frame
in R. A DataFrame is a more specialized tool than a normal array for working with tabular and statistical data, and it is defined in the DataFrames
package, ...
Get Julia: High Performance Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.