Asociados con los nombres de las columnas en un dataframe.
Associated with the names of the columns in a dataframe.
Todos los ejemplos se deben realizar sobre un dataframe del que se hayan eliminado los valores faltantes.
All examples must be run with a dataframe in which you have been removed the missing values.
Se trata de tres funciones que operan sobre un dataframe.
It consists of three functions that work with a data frame.
En primer lugar, vamos a cargar los datos en un dataframe y examinar las columnas que contiene
First, we will load the data into a data frame and examine which columns it has
Un DataFrame es análogo a una tabla.
A DataFrame is analogous to a table.
Seleccionar filas de un DataFrame basado en valores en una columna en pandas
Select rows from a DataFrame based on values in a column in pandas
Determinar la correlación del cambio de porcentaje entre diez acciones es tan sencillo como llamar al método corr en los retornos de DataFrame.
Determining the correlation of the percentage change between the ten stocks is as simple as calling the corr method on the DataFrame returns.
Ahora tiene la capacidad de agregar una leyenda de mapa, así como usar cadenas separadas por comas para devolver la consulta como DataFrame.
You now have the ability to add a map legend as well as use comma-separated strings to return query as DataFrame.
Ahora tiene la capacidad de agregar una leyenda de mapa, así como usar cadenas separadas por comas para devolver la consulta como DataFrame.
Users can now add a map legend and use comma-separated strings to return a query as a DataFrame.
Cada columna del DataFrame tiene un nombre (un encabezado) y cada fila se identifica con un número.
Each column of the DataFrame has a name (a header), and each row is identified by a number.
Después de que este código termine de ejecutarse, tenemos un diccionario de DataFrames donde key es el nombre del equipo y value es el DataFrame con todos los juegos de ese equipo.
After this code finishes running we have a dictionary of DataFrames where key is the name of the team and value is the DataFrame with all games of that team.
Creamos la tabla HIVE con los datos almacenados en el DataFrame.
We create the HIVE table with data stored in the DataFrame.
Luego, pueden usar ese DataFrame de Pandas en memoria para crear una visualización.
You can then happily use that in-memory Pandas DataFrame for visualization.