Thus, they do not know where their money is going. Ī number of students at SDSU were asked how much they spend per month on their needs and requirements, and nobody was able to provide an exact answer. As people track their expenses, expenses that are relatively easy to categorize -those that are more typical examples of their categories -will be the most subject to the rigors of budgeting. On the other hand, expense tracking shows that some expenses are more likely to produce over-or-underconsumption. Because budgets are set before consumption opportunities arise, they sometimes overestimate or underestimate the money required for a particular amount. Mental Budgeting leads people to overconsume some goods and underconsume others. As this tracking expense becomes a habit, you can get a good picture of how much money you need to maintain your lifestyle.īudget Setting and expense tracking both alter consumer choice. You can concentrate on saving even a little bit on your biggest expense categories, compared to cutting back a lot on smaller expenses. The sole reason behind the need for this application is that when you start finding out where you are spending your money, it becomes easy to figure out how you can save money by cutting back or even eliminating spending in some areas. With the launch of the new iPhone5 recently whose sales hit 5 million units in first weekend clearly indicates that many people are using it now and thus arises a need for an application that serves to manage their lifestyle by managing their finances accordingly. The above pictorial representation shows that a lot of people are using Apple's iPhone device which works on iOS. Smartphone shipments based on Mobile OS as per Q2 2012 by IDC in. Product = pd.According to the smartphone recent sales stats globally, IDC says that over 153 million smartphones sold worldwide in Q2 2012. Idea is to compare sales of products and how they performed in the last 5 years. #Sales and expense bar graph code#In the code below, we are creating a pandas DataFrame consisting sales of two products A and B along with time period (Year). Legend=False tells pandas to turnoff legendĪdd Multiple Lines in Line Graph Pandas Way Syntax of ax.set family functions is equivalent to plt. It can also be written like the code below. set method is used to add x and y axis labels, limits and ticks. You can mention any color ('g' for green, 'b' for blue, 'k' for black etc.) They refer to cirles, dash lines, dash-dotted lines. You can also use these styles ro, ro-, r+, rD. Plt.bar(x, y, color='red') # Change bar color Plt.ylabel("Math Score") # Assign the name of the y axis Plt.xlabel('Students') # Assign the name of the x axis Plt.title("Simple Bar graph") # Name title of the graph Suppose you want to show comparison between cities in terms of average annual income. The following tables explain different graphs along with functions defined for these graphs in matplotlib library.īar Graph is used to make comparison between different categories or groups. If you are using Jupyter Notebook, you can submit this command %matplotlib inline once to display or show plots automatically without need to enter plt.show() after generation of each plot.įunctions used for different types of plots
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |