0% found this document useful (0 votes)
9 views19 pages

Informatics Practices Project SESSION 2024-25: TOPIC:Analysis of Global Corporations

The document outlines a project titled 'Analysis of Global Corporations' prepared by students from Doha Modern Indian School for the academic year 2024-2025. It includes sections on software and hardware requirements, project introduction, source code, and bibliography, detailing the program's capabilities for managing and analyzing corporate data. The project utilizes Python and various libraries for data processing and visualization, aiming to provide insights into global corporations.

Uploaded by

aasimcm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views19 pages

Informatics Practices Project SESSION 2024-25: TOPIC:Analysis of Global Corporations

The document outlines a project titled 'Analysis of Global Corporations' prepared by students from Doha Modern Indian School for the academic year 2024-2025. It includes sections on software and hardware requirements, project introduction, source code, and bibliography, detailing the program's capabilities for managing and analyzing corporate data. The project utilizes Python and various libraries for data processing and visualization, aiming to provide insights into global corporations.

Uploaded by

aasimcm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

INFORMATICS PRACTICES

PROJECT
SESSION 2024-25
TOPIC:Analysis of
Global Corporations
PREPARED BY:
AASIM ANWAR CHOYIMADATHIL
Grade:12A
INDEX

TOPIC PAGENO

DECLARATION 2

ACKNOWLEDGEMENT 3

SOFTWARE REQUIREMENTS 4

HARDWARE REQUIREMENTS 5

INTRODUCTION 6

CSV FILE 7

SOURCE CODE 8

OUTPUT 14

BIBLIOGRAPHY 18
DECLERATION

We hereby declare that the project work entitled 'Analysis of Global Corporations'
submitted to the Informatics Practices faculty of Doha Modern Indian School is a
genuine record of our own work executed under the guidance of Ms. Rekha,
during the academic year 2024-2025.

1. Aasim Anwar Choyimadathil (Class 12-A)


Role: Coding and Testing
Aasim was responsible for implementing the code in Python and going into
extensive testing to ensure the functionality of the project. This included debugging,
refining the code, and ensuring all modules and features were working as per the
expecta- tion.

2. Abeer Ghauri (Class 12-A)


Role: Editing
Abeer was responsible for editing the document, refine what was written, and
check for consistency in the report's presentation and structure.

3. Bevan Biju Thomas (Class 12-B)


Role: Writing
Bevan contributed by writing, documenting the project results such as project
re- ports, explanation of codes, and overall project narrative.
ACKNOWLEDGEMENT

We would like to extend our heartfelt gratitude to our teacher, Ms. Rekha, and our
principle Mr. Sibi V Joseph for guiding us and standing by our side for this project.
She had valuable insights and encouragement into the task at hand, which helped in
suc- cessfully completing this work.
We would also like to extend our appreciation to our school, Doha Modern Indian
School, for providing the resources and conducive environment necessary for
learn- ing. Special thanks to our parents for their continued support and
encouragement that really inspired us through this journey.
We would like lastly to thank all people that have directly and indirectly helped
us bring this project into being.
SOFTWARE REQUIREMENTS

To successfully run the program, the following software requirements must be


met:

1. Operating System
Windows: Windows 10 or later
Linux: Ubuntu 18.04 or later, or equivalent distributions
macOS: macOS Mojave (10.14) or later

1. Development Environment
Integrated Development Environment (IDE):
• PyCharm
• Visual Studio Code
• Jupyter Notebook

1. Libraries and Packages


matplotlib: For generating analytics plots and visualizations
pandas: For data manipulation and analysis
numpy: For numerical operations

1. Programming Language
Python: Version 3.7 or later
HARDWARE REQUIREMENTS

To guarantee that the program operates smoothly and efficiently, below are the
min- imum and recommended hardware requirements:

Minimum Requirements:
Processor: Dual-core processor (Intel i3 or equivalent)
RAM: 4 GB
Storage: 500 MB of free disk
space Graphics: Integrated
graphics card Display: 1366 x 768
resolution

Recommended Requirements:
Processor: Quad-core processor (Intel i5 or equivalent)
RAM: 8 GB or more
Storage: 1 GB of free disk space (SSD recommended for better
performance) Graphics: Dedicated graphics card (if running intensive data
visualizations) Display: 1920 x 1080 resolution or higher
INTRODUCTION

This program provides a comprehensive solution for managing the complete records
of global corporations. It allows users to efficiently store and retrieve essential infor-
mation, including company names, employee counts, net worth, and global
position- ing.
Additionally, it features advanced data visualization tools, presenting information
in user-friendly graphs and tables for quick analysis. This empowers users to gain
valu- able insights into corporations, facilitating informed decision-making based
on real- time data.

Some of the key features are:

Data Collection: The program can retrieve data from multiple sources, such
as CSV files, databases, or APIs, ensuring up-to-date information on corporations.

Data Processing: Using Pandas, the program cleans and processes the data,
han- dling missing values and ensuring data integrity.

Visualization: It includes visualization capabilities using libraries like Matplotlib


en- abling users to create charts and graphs that illustrate trends and comparisons
among corporations.

Instant Information Retrieval: With advanced querying capabilities, users can


instantly receive detailed information about the company and their employee
counts, net worth, and global positioning. The program enables users to access
relevant data quickly.

Comprehensive Record Management: Efficiently stores and retrieves


com- plete records of global corporations.
CSV FILE

The CSV (Comma-Separated Values) file format is utilized in this project to store
and manage the data of global corporations, allowing for easy data manipulation
and analysis through Python's Pandas library.
The CSV file used for this project is given below:
SOURCE CODE

import matplotlib.pyplot as plt


import pandas as pd
import numpy as np

# Load the data


df1 = pd.read_csv("C:\\Users\\lenovo\\Desktop\\companies_data.csv")
print(df1)

# Main Menu
while True:
print("\nMain Menu")
print("1. Display records of top
MNCs") print("2. Fetch data")
print("3. Update values")
print("4. Looking for a particular section?")
print("5. Want some comparison?")
print("6. EXIT")

Ch = int(input("Enter Choice: "))

if Ch == 1:
print("Displaying all
records:") print(df1)

elif Ch == 2:
while True: print("\
nDatabase") print("1. Top 5
Companies")
print("2. Bottom 5 Companies")
print("3. Specific number of companies from the top")
print("4. Specific number of companies from the bottom")
print("5. Exit")

Ch2 = int(input("Enter Choice: "))


if Ch2 == 1:
print("\nTop 5
Companies:")
print(df1.head())
elif Ch2 == 2:
print("\nBottom 5 Companies:")
print(df1.tail())
elif Ch2 == 3:
"))
n = int(input("Enter how many companies you want to display from the top:

print(df1.head(n))
elif Ch2 == 4:
n = int(input("Enter how many companies you want to display from the bot-
tom: "))
print(df1.tail(n))
elif Ch2 == 5:
break
else:
print("Invalid choice, please enter a number between 1 and 5.")

elif Ch == 3:
while True:
print("\nWorking on columns
Menu") print("1. Insert a new column
data") print("2. Delete a specific
column") print("3. Exit")

Ch3 = int(input("Enter Choice Number: "))


if Ch3 == 1:
print("Enter details")
h = input("Enter column name: ")
det = eval(input("Enter details corresponding to all subjects (enclosed in []):
"))
df1[h] = pd.Series(data=det, index=df1.index)
print(df1)
print("Column inserted.")
elif Ch3 == 2:
a = input("Enter column name which needs to be deleted:
") df1.drop([a], axis=1, inplace=True)
print(df1)
print("Column deleted.")
elif Ch3 == 3:
break
else:
print("Invalid choice, please enter a number between 1 and 3.")

elif Ch == 4:
while True:
print("\nSearch Menu")
print("1. Search for details of a specific
company") print("2. Search details for a specific
column") print("3. Exit")

Ch4 = int(input("Enter Choice Number: "))


if Ch4 == 1:
st = int(input("Enter index no. of the company whose details you want to
see: "))
print(df1.loc[st])
elif Ch4 == 2:
col = input("Enter column whose detail you want to see:
") if col in df1.columns:
print(df1[col])
else:
print("Column not found.")
elif Ch4 == 3:
break
else:
print("Invalid choice, please enter a number between 1 and 3.")

elif Ch == 5:
while True:
print("\nData Visualization Menu")
print("1. Line plot for Employee Comparison")
print("2. Vertical Bar Plot For Net Worth
Comparison")
print("3. Horizontal Bar Plot For Global Position
Comparison") print("4. Exit")
Ch5 = int(input("Enter Choice Number: "))
if Ch5 == 1:
Comp = ['Microsoft', 'Meta', 'Amazon', 'Google', 'Tesla', 'Tata', 'Reliance',
'In- fosys', 'SpaceX', 'Netflix']
Emp = [221000, 58604, 1468000, 150028, 110000, 935000, 342982, 276319,
12000, 11300]
plt.title("Number of Employees in Top
MNCs") plt.xlabel("Company Name")
plt.ylabel("Number of Employees (in lakhs)")
plt.plot(Comp, Emp, color='y')
plt.show()
elif Ch5 == 2:
Comp = ['Microsoft', 'Meta', 'Amazon', 'Google', 'Tesla', 'Tata', 'Reliance',
'In- fosys', 'SpaceX', 'Netflix']
Net = [2135, 36, 1053.5, 1420, 710.78, 260, 229, 79.06, 2, 131.6]
plt.title("Net Worth of Top MNCs")
plt.bar(Comp, Net, color='b')
plt.xlabel("Company Name")
plt.ylabel("Net Worth (in Billion
Dollars)") plt.show()
elif Ch5 == 3:
Comp = ['Microsoft', 'Meta', 'Amazon', 'Google', 'Tesla', 'Tata', 'Reliance',
'In- fosys', 'SpaceX', 'Netflix']
Gpos = [21, 27, 1, 2, 103, 78, 104, 50, 378, 245]
plt.title("Horizontal Bar Graph Representing Global
Position") plt.xlabel("Company Name")
plt.ylabel("Global Position")
plt.barh(Comp, Gpos, color='r')
plt.show()
elif Ch5 == 4:
break
else:
print("Invalid choice, please enter a number between 1 and 4.")

elif Ch == 6:
print("Exiting the program.")
break
else:
print("Invalid choice, please enter a number between 1 and 6.")
OUTPUT
BIBLIOGRAPHY

1. Pandas Documentation: Python Data Analysis Library. Retrieved from


https://pan- das.pydata.org/docs/

2. NumPy Documentation: The Fundamental Package for Scientific Computing


with Python. Retrieved from https://numpy.org/doc/

3. Matplotlib Documentation: Visualization with Python. Retrieved from


https:// matplotlib.org/stable/contents.html

4. GeeksforGeeks: Working with CSV Files in Python. Retrieved from


https:// www.geeksforgeeks.org/working-csv-files-python/

You might also like