Small Finance 31

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 30

Project Report on

Small Finance Group Data Analysis

A Project Report on Informatics Practices(065) in fulfillment of the requirement of


Class XII, 2022-92023 Term-2 Board Examination.

Prepared by:-
Name: Tridib Das

Roll no: 26
Class: XII (Science)
CONTENTS

⮚ Certificate

⮚ Acknowledgment

⮚ Introduction

⮚ System Requirements Specification

⮚ Hardware and Software Required

⮚ CSV ( Table Used)

⮚ Outputs

⮚ Drawbacks

⮚ Conclusion

⮚ Bibliography
CERTIFICATE

This is to certify that Tridib Das of Class XII


(Commerce/Humanities), Roll no- 26, Delhi Public School, Jorhat
has completed Project work on

“Small Finance Group Data Analysis“

successfully under my guidance according to the NCERT


syllabus, part of practical examination for the year 2020-21..
He has taken proper care and shown utmost sincerity in the
completion of the project.

I hereby certify that the project is up to my expectation


as per the guidelines issued by Central Board of Secondary
Education, New Delhi.
Mrs. Monalisa S. Mrs. Anindita Goswami
Borthakur PGT (Informatics Practices)

Principal Delhi Public School, Jorhat

Delhi Public School, Jorhat

_____________
External Examiner

ACKNOWLEDGEMENT
I take the opportunity to convey my heart full thanks
to the teacher of the informatics practices
department Mrs. Anindita Goswami , PGT(IP) for her
suggestion and support.
My sincere thanks also goes to all those people who
helped me in the completion of my project by
providing me with the necessary information due to
investigation and experimentation.
Introduction

Data analytics is the science of analyzing raw data to make conclusions about
that information.

Data analytics is important because it helps businesses optimize their


performances. Implementing it into the business model means companies can
help reduce costs by identifying more efficient ways of doing business and by
storing large amounts of data. A company can also use data analytics to make
better business decisions and help analyze customer trends and satisfaction,
which can lead to new—and better—products and services.

PANDAS is a high-level data manipulation tool used for analyzing data. It is


very easy to import and export data using Pandas library which has a very
rich set of functions.

It is built on packages like NumPy and Matplotlib and gives us a single,


convinient place to do most of our data analysis and visualization work.
In this project, using Python Pandas, a program has been developed which
can be used to extract information of customers from an existing database.

SYSTEM REQUIREMENTS
SPECIFICATIONS
A proposed computerized system shall be covering the
Following aspects:-

⮚ One time accurate data entry should be required by the system and
thereafter it should take care of all the selection processes, report
generation processes and maintenance of the data, in order to
overcome all the possibilities of introduction of any manual error, which
might lead to incorrect results.

⮚ The system should facilitate the storage and maintenance of huge data.

⮚ The system should take care of the new information which is entered.

⮚ The system should design such a manner that any entries in future can
be easily appended to it.
⮚ The system should be highly efficient with respect to time involved in
selection and report.

HARDWARE AND SOFTWARE


REQUIREMENTS
Operation System: Windows 7 Or Linux
Application Software: CSV and Python IDLE

Hardware Requirement
Minimum Requirement Recommended Requirement

Processor Pentium 1 Pentium (1/2/3/4)


Mouse Required Standard Three Button
Keyboard Standard (104 Keys) Standard (104 Keys)
Monitor 14” color 17” Color
FDD 1.44 MB 1.44 MB
HDD 80 GB 160 GB+
RAM 1 GB 2 GB

CSV File(Bank)
CustID Name Age Gender Type Education_Level Marital_Status Deposit Withdraw Balance
100101Akash 45 M Blue High School Married 8256 777 7479
100102Bina 49 F Blue Graduate Single 3418 864 2554
100103Roy 51 M Blue Graduate Married 3313 0 3313
100104Rina 40 F Blue High School Unknown 4716 2517 2199
100105Kamal 40 M Blue Uneducated Married 4010 0 4010
100106Kumar 44 M Blue Graduate Married 34516 1247 33269
100107Dev 51 M Gold Unknown Married 29081 2264 26817
100108Shukla 32 M Silver High School Unknown 22352 1396 20956
100109Singh 37 M Blue Uneducated Single 11656 2517 9139
100110Baruah 48 M Blue Graduate Single 6748 1677 5071
100111Sharma 42 M Blue Uneducated Unknown 9095 1467 7628
100112Chakrab 65 M Blue Unknown Married 11751 1587 10164
orty
100113 Chanda 56 M Blue College Single 8547 0 8547
100114 Das 35 M Blue Graduate Unknown 2436 1666 770
100115 Bhatta 57 F Blue Graduate Married 4234 680 3554
100116 Bhat 44 M Gold Unknown Unknown 30367 972 29395
100117 Deyal 48 M Blue Post-Graduate Single 13535 2362 11173
100118 Balam 41 M Blue Unknown Married 3193 1291 1902
100119 Meena 61 M Blue High School Married 14470 2517 11953
100120 Rubi 45 F Blue Graduate Married 4567 1157 3410
                   

Coding
import pandas as pd

import matplotlib.pyplot as plt

df = pd.read_csv("D:\\Bank.csv")

print('\n\n Welcome to Small Finance Group Data Analysis')

print('\n\n ---------Choose your option----------')

print('-------------------------------------------','\n')

print('1. Show Whole DataFrame')

print('2. Show Columns')

print('3. Show Top Rows')


print('4. Row Bottom Rows')

print('5. Show Specific Column')

print('6. Add a New Record')

print('7. Add a New Column')

print('8. Delete a Column')

print('9. Delete a Record')

print('10. MemberType ')

print('11. Gender wise User')

print('12. Data Summary')

print('13. Customer Id and Balance wise bar chart')

print('14. Exit (Move to main menu)')

ch = int(input('\n\nEnter your choice:'))

if ch == 1:

print(df)

wait = input('\n\n\n Press any key to continue.....')

if ch == 2:

print(df.columns)

wait = input('\n\n\n Press any key to continue.....')

if ch == 3:

n = int(input('Enter Total rows you want to show :'))

print(df.head(n))

wait = input('\n\n\n Press any key to continue.....')

if ch == 4:

n = int(input('Enter Total rows you want to show :'))

print(df.tail(n))

wait = input('\n\n\n Press any key to continue.....')


if ch == 5:

print(df.columns)

col_name = input('Enter Column Name that You want to print : ')

print(df[[col_name]])

wait = input('\n\n\n Press any key to continue.....')

if ch == 6:

a = input('Enter Customer ID :')

b = input('Enter Customer Name :')

c = input(' Enter Customer Age:')

d = input('Enter Customer Gender :')

e = input('Enter Customer Type :')

f = input('Enter Education Level :')

g = input('Enter Marital Status :')

h = input('Enter Deposite Amount :')

i = input('Enter Withdraw Amount :')

j = input('Enter Balance Amount')

data = {'CustID': a, 'Name': b, 'Age': c,

'Gender': d, 'Type': e, 'Educational_Level': f, 'Marital_Status': g,

'Deposite':h,'Withdraw':i,'Balance':j}

df = df.append(data, ignore_index=True)

print(df)

wait = input('\n\n\n Press any key to continue.....')

if ch == 7:

col_name = input('Enter new column name :')


col_value = int(input('Enter default column value :'))

df[col_name] = col_value

print(df)

print('\n\n\n Press any key to continue....')

wait = input()

if ch == 8:

col_name = input('Enter column Name to delete :')

del df[col_name]

print(df)

print('\n\n\n Press any key to continue....')

wait = input()

if ch == 9:

index_no = int(input('Enter the Index Number that You want to delete :'))

df = df.drop(df.index[index_no])

print(df)

print('\n\n\n Press any key to continue....')

wait = input()

if ch == 10:

print(df.columns)

print(df['Type'].unique())

tipe = input('Enter member Type ')

g = df.groupby('Type')

print('Type : ', tipe)


print(g['Type'].count())

print('\n\n\n Press any key to continue....')

wait = input()

if ch == 11:

df1 = df.Gender.unique()

print('Available Gender :', df1)

print('\n\n')

schName = input('Enter Gender Type :')

df1 = df[df.Gender == schName]

print(df1)

print('\n\n\n Press any key to continue....')

wait = input()

if ch == 12:

print(df.describe())

print("\n\n\nPress any key to continue....")

wait = input()

if ch==13:

plt.bar(x='CustID',data=df,height=df['Balance'])

plt.show()

print("\n\n\nPress any key to continue....")

wait = input()

if ch==14:

print("\n\n\nPress Enter for exit....")


Outputs-
Welcome to Small Finance Group Data Analysis

---------Choose your option----------

-------------------------------------------

1. Show Whole DataFrame

2. Show Columns

3. Show Top Rows

4. Row Bottom Rows

5. Show Specific Column

6. Add a New Record

7. Add a New Column

8. Delete a Column

9. Delete a Record

10. MemberType
11. Gender wise User

12. Data Summary

13. Customer Id and Balance wise bar chart

14. Exit (Move to main menu)

Enter your choice:2

Index(['CustID', 'Name', 'Age', 'Gender', 'Type', 'Education_Level', 'Marital_Status', 'Deposit', 'Withdraw ',
'Balance'], dtype='object')

Press any key to continue.....

runfile('C:/Users/owner/Practical/bank.py', wdir='C:/Users/owner/Practical')

Welcome to Small Finance Group Data Analysis

---------Choose your option----------

-------------------------------------------

1. Show Whole DataFrame


2. Show Columns

3. Show Top Rows

4. Row Bottom Rows

5. Show Specific Column

6. Add a New Record

7. Add a New Column

8. Delete a Column

9. Delete a Record

10. MemberType

11. Gender wise User

12. Data Summary

13. Customer Id and Balance wise bar chart

14. Exit (Move to main menu)

Enter your choice:2

Index(['CustID', 'Name', 'Age', 'Gender', 'Type', 'Education_Level',

'Marital_Status', 'Deposit', 'Withdraw ', 'Balance'],

dtype='object')

Press any key to continue.....


runfile('C:/Users/owner/Practical/bank.py', wdir='C:/Users/owner/Practical')

Welcome to Small Finance Group Data Analysis

---------Choose your option----------

-------------------------------------------

1. Show Whole DataFrame

2. Show Columns

3. Show Top Rows

4. Row Bottom Rows

5. Show Specific Column

6. Add a New Record

7. Add a New Column

8. Delete a Column

9. Delete a Record

10. MemberType

11. Gender wise User

12. Data Summary

13. Customer Id and Balance wise bar chart

14. Exit (Move to main menu)


Enter your choice:3

Enter Total rows you want to show :4

CustID Name Age ... Deposit Withdrawal Balance

0 100101 Akash 45 ... 8256 777 7479

1 100102 Bina 49 ... 3418 864 2554

2 100103 Roy 51 ... 3313 0 3313

3 100104 Rina 40 ... 4716 2517 2199

[4 rows x 10 columns]

Press any key to continue.....

runfile('C:/Users/owner/Practical/bank.py', wdir='C:/Users/owner/Practical')

Welcome to Small Finance Group Data Analysis

---------Choose your option----------

-------------------------------------------

1. Show Whole DataFrame


2. Show Columns

3. Show Top Rows

4. Row Bottom Rows

5. Show Specific Column

6. Add a New Record

7. Add a New Column

8. Delete a Column

9. Delete a Record

10. MemberType

11. Gender wise User

12. Data Summary

13. Customer Id and Balance wise bar chart

14. Exit (Move to main menu)

Enter your choice:4

Enter Total rows you want to show :3

CustID Name Age ... Deposit Withdrawal Balance

17 100118 Balam 41 ... 3193 1291 1902

18 100119 Meena 61 ... 14470 2517 11953

19 100120 Rubi 45 ... 4567 1157 3410

[3 rows x 10 columns]
Press any key to continue.....

runfile('C:/Users/owner/Practical/bank.py', wdir='C:/Users/owner/Practical')

Welcome to Small Finance Group Data Analysis

---------Choose your option----------

-------------------------------------------

1. Show Whole DataFrame

2. Show Columns

3. Show Top Rows

4. Row Bottom Rows

5. Show Specific Column

6. Add a New Record

7. Add a New Column

8. Delete a Column

9. Delete a Record

10. MemberType

11. Gender wise User

12. Data Summery


13. Customer Id and Balance wise bar chart

14. Exit (Move to main menu)

Enter your choice:5

Index(['CustID', 'Name', 'Age', 'Gender', 'Type', 'Education_Level',

'Marital_Status', 'Deposit', 'Withdraw ', 'Balance'],

dtype='object')

Enter Column Name that You want to print : Education_Level

Education_Level

0 High School

1 Graduate

2 Graduate

3 High School

4 Uneducated

5 Graduate

6 Unknown

7 High School

8 Uneducated

9 Graduate

10 Uneducated

11 Unknown

12 College

13 Graduate
14 Graduate

15 Unknown

16 Postgraduate

17 Unknown

18 High School

19 Graduate

Press any key to continue.....

runfile('C:/Users/owner/Practical/bank.py', wdir='C:/Users/owner/Practical')

Welcome to Small Finance Group Data Analysis

---------Choose your option----------

-------------------------------------------

1. Show Whole DataFrame

2. Show Columns

3. Show Top Rows

4. Row Bottom Rows

5. Show Specific Column


6. Add a New Record

7. Add a New Column

8. Delete a Column

9. Delete a Record

10. MemberType

11. Gender wise User

12. Data Summary

13. Customer Id and Balance wise bar chart

14. Exit (Move to main menu)

Enter your choice:7

Enter new column name :Remarks

Enter default column value :1

CustID Name Age ... Withdraw Balance Remarks

0 100101 Akash 45 ... 777 7479 1

1 100102 Bina 49 ... 864 2554 1

2 100103 Roy 51 ... 0 3313 1

3 100104 Rina 40 ... 2517 2199 1

4 100105 Kamal 40 ... 0 4010 1

5 100106 Kumar 44 ... 1247 33269 1

6 100107 Dev 51 ... 2264 26817 1

7 100108 Shukla 32 ... 1396 20956 1


8 100109 Singh 37 ... 2517 9139 1

9 100110 Baruah 48 ... 1677 5071 1

10 100111 Sharma 42 ... 1467 7628 1

11 100112 Chakraborty 65 ... 1587 10164 1

12 100113 Chanda 56 ... 0 8547 1

13 100114 Das 35 ... 1666 770 1

14 100115 Bhatta 57 ... 680 3554 1

15 100116 Bhat 44 ... 972 29395 1

16 100117 Deyal 48 ... 2362 11173 1

17 100118 Balam 41 ... 1291 1902 1

18 100119 Meena 61 ... 2517 11953 1

19 100120 Rubi 45 ... 1157 3410 1

[20 rows x 11 columns]

Enter your choice:10

Index(['CustID', 'Name', 'Age', 'Gender', 'Type', 'Education_Level',

'Marital_Status', 'Deposit', 'Withdraw ', 'Balance'],

dtype='object')

['Blue' 'Gold' 'Silver']

Enter member Type Gold

Type : Gold

Type

Blue 17

Gold 2

Silver 1
Name: Type, dtype: int64

Press any key to continue....

runfile('C:/Users/owner/Practical/bank.py', wdir='C:/Users/owner/Practical')

Welcome to Small Finance Group Data Analysis

---------Choose your option----------

-------------------------------------------

1. Show Whole DataFrame

2. Show Columns

3. Show Top Rows

4. Row Bottom Rows

5. Show Specific Column

6. Add a New Record

7. Add a New Column

8. Delete a Column

9. Delete a Record

10. MemberType
11. Gender wise User

12. Data Summary

13. Customer Id and Balance wise bar chart

14. Exit (Move to main menu)

Enter your choice:11

Available Gender : ['M' 'F']

Enter Gender Type :F

CustID Name Age ... Deposit Withdrawal Balance

1 100102 Bina 49 ... 3418 864 2554

3 100104 Rina 40 ... 4716 2517 2199

14 100115 Bhatta 57 ... 4234 680 3554

19 100120 Rubi 45 ... 4567 1157 3410

[4 rows x 10 columns]

Enter your choice:13


DRAWBACKS

⮚ There is on facility for printing.

⮚ There is on proper inbuilt data backup system apart from the normal window
copy command system.
CONCLUSION

At last I would like to conclude by expressing that


big and complex management systems can be
handled by implementing this type of applications
where data can be easily entered. This application
is an example to depict the working which one can
see and get ideas to prepare such a management
system.
Bibliography

1. Informatics Practices
Sumita Arora
2. Informatics Practices
Pretti Arora

You might also like