Monday, January 20, 2020
ET top 25 - further analysis
Sunday, January 19, 2020
ET500-Raw data to pandas dataframe to charts
ET500-Raw data to pandas dataframe to charts
Recently Economic Times published ET500 – list of top 500 companies in India.
I copied the data from website for top 25 companies. It was continuous and looked like this.
There were no delimiters. Using python, I imported the file, and using re module; cleaned and separated elements in each line. Then imported these in pandas data frame. It looked as this.
The next step was to plot it. The below plot is using seaborn library.
Within these spaces the topprofit-making (Rs 30,000 Cr and above) companies are Reliance, ONGC, TCS. The next bracket of Rs 20,000 Cr and above but below Ra 30,000 Cr has HDFC Bank. Rs 15,000 Cr and above, but below the above levels have Indian Oil, HDFC and Infosys.
Till Rs 10,000 Cr of PAT; revenue and PAT appear to go together. After that PAT level there is a lot of deviation in revenue levels.
In my next blog I will do more analysis and visualization.
Thursday, December 19, 2019
Cleaned category list using Python3
I analyzed an excel containing a list of 300+ #unicorns using #Python and #Pandas. I made some nice charts also.
Later I realized that the column containing the classification values of unicorns such as TravelTech, EduTeach, Ecommerce had not been written consistently.
These similar looking classification values were written differently.
Ecommerce was written as eCommerce, ecommerce, e-commerce and so on. With these classification values my analysis wasn’t right. The grouping on classification values had given me incorrect analysis. These kinds of errors are common when no data validation is in place.
So started all over again. Just to describe in this post; I have taken the values and created a list.
The existing values are given below.
['Auto Tech', 'AutoTech', 'Digital health', 'Digital Health', 'EdTech', 'Edtech', 'Ed Tech', 'e-commerce', 'eCommerce', 'ecommerce', 'Food & Beverage', 'Food & Beverages', 'Food and Beverage', 'Health & Wellnes', 'Health & Wellness', 'IoT', 'Internet of Things', 'Sales Tech', 'SalesTech', 'On Demand', 'On-Demand', 'On-demand', 'Supply Chain & Logistics', 'Supply chain & Logistics', 'Travel Tech', 'TravelTech']
Using Python, I cleaned the list. I used #Spyder 4.0 which is beautiful. I used good old loops in the logic. I am comfortable with loops.
The new list is given below.
['Autotech', 'Autotech', 'Digitalhealth', 'Digitalhealth', 'Edtech', 'Edtech', 'Edtech', 'Ecommerce', 'Ecommerce', 'Ecommerce', 'Food&Beverages', 'Food&Beverages', 'Food&Beverages', 'Health&Wellness', 'Health&Wellness', 'Iot', 'Internetofthings', 'Salestech', 'Salestech', 'Ondemand', 'Ondemand', 'Ondemand', 'Supplychain&Logistics', 'Supplychain&Logistics', 'Traveltech', 'Traveltech']
The new cleaned list is now ready for analysis. All the classification values are written consistently.
However, there is one more iteration I have to do. IoT and ‘Internet of Things’ are shown separately.
I hope to take care of that as well shortly.
Saturday, November 30, 2019
Mutual Funds Performance
Tuesday, November 26, 2019
Sankey Diagram
Sunday, November 24, 2019
6 largest charitable foundations worldwide
This is a list of wealthiest charitable foundations worldwide. It consists of the 6 largest charitable foundations, private foundations engaged in philanthropy, and other charitable organizations that have disclosed their assets. In many countries such disclosure is not legally required, and often not done.
Only nonprofit foundations are included in this list. Organisations that are part of a larger company are excluded, such as holding companies.
The entries are ordered by the size of the organisation's financial endowment (that is, the value of assets net of liabilities, or invested donations). The endowment value is an estimate measured in United States dollars, based on the exchange rates on December 31, 2016.
Due to fluctuations in holdings, currency exchange and asset values, this list only represents the valuation of each foundation on a single day.
6 largest and wealthiest charitable foundations worldwide |