Documente Academic
Documente Profesional
Documente Cultură
1. Matrix Operations and Linear Equations using Numerical Python(numpy) which should
provide menus on screen for the following matrix operations.
2. Data Analysis using Pandas library on CSV files and subsequent visualization by
Matplotlib. Program should perform the following
- Load the data from an employee master CSV file (empmst.csv) into a DF. Sample
data for 'empmst.csv' has already been shared via mail attachment.
- Make the 'Empno' column as Index column.
- Use ‘parse_dates’ while importing DOB column
b. Access/print the all the columns by “.” operator.
c. Add column ‘CONV’ in the DF as 10% of Salary.
d. Add column 'Total' as sum of Salary + HRA + CONV.
e. Find the sum, mean, standard deviation of Total, Salary, HRA, CONV
gender wise (M. F)
f. Create a new DF called “statewise_total” which would give “group by sum()” on
Salary, HRA, CONV, Total and State as index column.
g. Plot a Bar graph showing “State” on X-axis and other numeric columns under bar.
h. Put a proper title, label on X & Y axis.
i. Convert the DF with added columns to an Excel file by “xlwt” module
Pre-requisites
Pre-requisites
5. Load the dataset from ‘empmst.csv’ into a Pandas frame called ‘empdf’ and then
perform the following
Notes:
- Use Python Modules like numpy, linear algebra, pandas, matplotlib, xlwt, xlrd
as required.
- For the menu based programs, there would be a main program which would
invoke each sub-menu program via a separate Python program (.py).
Underlined words should be your Menu text.
- Provide proper Project Title of your choice.