darrenspencer / week-6

0 stars 0 forks source link

Descriptive statistics #1

Open darrenspencer opened 1 year ago

darrenspencer commented 1 year ago

Write code in the MSBAweek6.py and calculate the descriptive statistics for the data found in baseball_salary.csv

ellipsis-dev[bot] commented 1 year ago

I wasn't able to find any files that are relevant to this Issue. Please edit the issue description to include at least one.

Reference a file by writing the file name between backticks, such as main.py, or by using a markdown link to reference a file, like [main.py](main.py). For more information, check the documentation.

Once you've edited the issue description, add the bitbuilder:create label back to this issue.

ellipsis-dev[bot] commented 1 year ago

To have BitBuilder create a Pull Request with the implementation, the user who created the issue can comment below with "LGTM".


Implementation Steps

  1. Read the data from baseball_salary.csv
    • Create a function to read the data from the baseball_salary.csv file and return it as a pandas DataFrame
  2. Calculate the descriptive statistics
    • Create a function to calculate the descriptive statistics for the data in the DataFrame. This should include the mean, median, standard deviation, minimum, and maximum values for each column
  3. Print the descriptive statistics
    • Modify the main function to call the function that calculates the descriptive statistics and print the results

Generated with :heart: by www.bitbuilder.ai. Questions? Check out our the documentation.

darrenspencer commented 1 year ago

lgtm