SalesMgmtSystem XII IP Projectreport 2022 23
SalesMgmtSystem XII IP Projectreport 2022 23
SalesMgmtSystem XII IP Projectreport 2022 23
PALLAVUR
PROJECT REPORT ON
SALES MANAGEMENT
AS PART OF INFORMATICS PRACTICES [065]
CLASS XII
This is to certify that the Informatics Practices Project work title “sales
management system” is a bonafide work done by Ananya Balraj of
class XII of Chinmaya Vidyalaya Pallavur under the guidance and
supervision of Mrs K.Usha Baburaj during the academic year 2022-
23.
Signature of Signature of
Signature of Principal
ACKNOWLEDGEMENT
Implementation
sales.csv
Salecode Productname company vendor productcost yearofsale tax saleamount
1 soap Lifebouy Suresh 10000 2020 2000 12000
2 phone Redmi Ramesh 20000 2021 4000 24000
3 ps4 sony William 100000 2022 5000 105000
4 mascara Nykaa Sianne 200000 2019 10000 210000
5 jersey six5sports Ronaldo 450000 2022 5500 455500
Source code:
import pandas as pd
def main_menu():
def create_dataframe_menu():
def analysis_menu():
def visualisation_menu():
cols = ['Salecode','Productname','company','vendor','productcost','yearofsale','tax','saleamount']
while True:
main_menu()
if ch == 1:
create_dataframe_menu()
data = []
while True:
if ch.lower() == 'y':
vendor=input("Vendor name:")
saleamount = pcost+tax
else:
break
elif ch == 2:
df = pd.read_csv(file)
elif ch == 3:
df.index = index_list
elif ch == 4:
df.columns = column_list
print(df)
elif ch == 2:
while True:
# Student Data Analysis
analysis_menu()
if ch == 1:
print(df)
elif ch == 2:
print(df.head(nth))
elif ch == 3:
print(df.tail(nth))
elif ch == 4:
print(df.sort_values(by='Productname'))
elif ch == 5:
print(df[df['saleamount'] == df['saleamount'].max()])
elif ch == 6:
print(df[df['saleamount'] == df["saleamount"].min()])
elif ch == 7:
print(df[df['saleamount']<= 1000])
elif ch == 8:
print(df['Productname'].unique())
elif ch == 9:
while True:
if ch.lower() == 'y':
vendor=input("Vendor name:")
saleamount = pcost+tax
elif ch == 10:
break
else:
break
elif ch == 3:
while True:
visualisation_menu()
if ch == 1:
plt.xlabel("Products", fontsize=12)
plt.legend()
plt.show()
elif ch == 2:
x_values = df["Productname"]
y_values = df['saleamount']
plt.xlabel("Productname", fontsize=12)
plt.show()
elif ch == 3:
break
else:
elif ch == 4:
elif ch == 5:
# Exit
print("Bye ...")
exit()
else:
break
Output Screenshots
1) Creating Dataframe
2) Data Analysis
a) Display all records
3) Data Visualisation
a)
b)
LIMITATIONS
• Graphical interfacing can be added
• Exporting csv files to remote servers
REQUIREMENTS
• Computer System with min 2 GB RAM
• Python 3.7/3.8 or higher
• Windows/ Linux OS
BIBILOGRAPHY
• Class 12 Sumitha Aroara Informatics Practices Text book
• www.python4csip.com
• http://python.mykvs.in