Find Jobs
Hire Freelancers

Python Data Analysis Project

$30-250 USD

Cancelado
Publicado hace más de 6 años

$30-250 USD

Pagado a la entrega
*Assignment Overview* This assignment focuses on the design, implementation and testing of Python programs to process data files using lists and tuples, as described below. *Assignment Specifications* 1. You will develop a Python program to manage information about baseball players. The program will maintain the following information for each player in the data set: player’s name (string) team identifier (string) games played (integer) at bats (integer) runs scored (integer) hits (integer) doubles (integer) triples (integer) homeruns (integer) 2. The program will recognize the following commands: QUIT HELP INPUT filename TEAM identifier REPORT n PLAYERS The program will be operated interactively: it will prompt the user and accept commands from the keyboard. If the user enters an invalid command, the program will display an appropriate message and prompt the user to enter another command. 3. The “QUIT” command will halt execution. 4. The "HELP" command will display information to the user about the commands recognized by the program. 5. The "INPUT" command will be followed by a string representing the name of an input file. The program will discard the current data set stored in memory, and then process the input file as the source for a new data set (open the file, read the file once and store the records, then close the file). An input file contains zero or more player records, where each record consists of the nine fields listed above. The records are separated by newlines, and the fields are separated by semicolons. If the user enters an invalid file name, the program will display an appropriate message and prompt the user to enter another file name. The program will halt after the user enters an invalid file name three consecutive times. 6. The "TEAM" command will be followed by a string representing a team identifier. The program will display all information about all players on that team. If the user enters an invalid team identifier, the program will display an appropriate message and prompt the user to enter another command; the program will not display an empty table. 7. The "REPORT" command will be followed by an integer number and a string (one of "HITS", "BATTING" or "SLUGGING"). If the user enters an invalid command, the program will display an appropriate message and prompt the user to enter another command; the program will not display an empty report. For each report, the program will display all information about the top "n" players in a given category: HITS -- number of hits BATTING -- batting average SLUGGING -- slugging percentage 8. The program will display appropriate messages to inform the user about any unusual circumstances. 9. Create tables and have output for the “REPORT” command be delivered in a tabular format. *Assignment Note* 1. The file named “[login to view URL]” contains information about players on the teams in Major League Baseball in 2013. 2. The file named “[login to view URL]” contains information about 20 players on teams in Major League Baseball in 2013; that file will be useful for your initial development. The first few lines of that file are shown below: De Aza, Alejandro; CWS; 153; 607; 84; 160; 27; 4; 17 Hunter, Torii; DET; 144; 606; 90; 184; 37; 5; 17 Hamilton, Josh; LAA; 151; 576; 73; 144; 32; 5; 21 Choo, Shin-Soo; CIN; 154; 569; 107; 162; 34; 2; 21 *Credit* [login to view URL]~cse231/PracticeOfComputingUsingPython/05_ListsTuples/Baseball/ This project was developed by Michigan State University Professors William Punch and Richard Enbody and is being used under the Creative Commons Attribution-Share Alike 3.0 United States License from the CS1 Python Programming Project Archive.
ID del proyecto: 15875383

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
1 freelancer está ofertando un promedio de $200 USD por este trabajo
Avatar del usuario
Entry prices since i am still new to the platform Stay tuned, I'm still working on this proposal.
$200 USD en 3 días
5,0 (6 comentarios)
4,3
4,3

Sobre este cliente

Bandera de UNITED STATES
Cambridge, United States
5,0
2
Forma de pago verificada
Miembro desde nov 6, 2017

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.