## Dataframes

##### Calculating sum of values in dataframe column

To calculate the sum of values in a dataframe column in Python, simply use the sum() function on the column. In the example given, the sum of values in column 'C' would be 24.

82
Nov 23
##### Rounding dataframe values to nearest integer

This question is about how to round the values in a dataframe column to the nearest integer. The output should show the rounded values in the column.

75
Nov 19
##### Determining Grade Distribution for Each Student

This technical problem involves creating a new dataframe that includes the grade distribution for each student. Given a dataframe of student grades, the code solution should return a new dataframe with the grade distribution for each student.

55
Nov 18
##### Find the row with the maximum value in column C and return the values in...

Given a dataframe, find the row with the maximum value in column 'C' and return the values in columns 'A' and 'B' for that row.

73
Nov 15
##### Calculating Averages for Student Grades

This code calculates the average grade for each student in a dataframe.

80
Nov 14
##### Calculating Percent Change in Stock Prices

To calculate the percent change in stock prices, we can simply subtract the stock price on the previous day from the stock price on the current day, and divide by the previous day's stock price .

72
Nov 14
##### Keep only certain columns in a dataframe

This technical problem deals with how to keep only certain columns in a dataframe using Python. A function is provided that takes in a dataframe and a list of column names, and returns a new dataframe with only the columns in the list. An example is given of input and output.

68
Nov 12