Path: csiph.com!weretis.net!feeder4.news.weretis.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail From: "Sven R. Kunze" Newsgroups: comp.lang.python Subject: Re: graphs Date: Fri, 8 Jan 2016 17:36:10 +0100 Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de J+gGaFYJ2b1D+HpsO1Jiiwd5Y1TSi0mS+1DcDOn7mvcQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.330 X-Spam-Level: *** X-Spam-Evidence: '*H*': 0.35; '*S*': 0.01; 'url:github': 0.09; 'person(s)': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'copied': 0.18; 'machine': 0.21; 'please?': 0.22; "python's": 0.23; 'header:In-Reply-To:1': 0.24; 'wondering': 0.25; 'header:User-Agent:1': 0.26; 'error': 0.27; 'values': 0.28; 'email name:[cid:image002.jpg': 0.29; 'code': 0.30; 'coordinator': 0.30; 'e.g.': 0.30; 'certain': 0.31; 'entry': 0.31; 'except': 0.34; 'received:10.0': 0.34; 'best,': 0.35; 'project': 0.36; 'url:org': 0.36; 'possible': 0.36; 'volume': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'delete': 0.38; 'thank': 0.38; 'mean': 0.38; 'resources': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'protection': 0.60; 'your': 0.60; 'documents': 0.61; 'total': 0.62; 'charset:windows-1252': 0.62; 'making': 0.62; 'personal': 0.63; 'different': 0.63; 'url:%20': 0.63; 'information': 0.63; 'here:': 0.63; 'strictly': 0.64; 'you.': 0.64; 'act': 0.67; 'wish': 0.71; 'privacy': 0.71; 'directed': 0.81; 'act.': 0.84; 'disclosed': 0.91; 'average': 0.93; 'confidence': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mail201212; t=1452270972; bh=13e2BK46A9NCvIKRBo9yavPq46jag/t+Q2F16RcsEsU=; h=Subject:To:References:From:Date:In-Reply-To:From; b=hOcFDps9pydXx5ZMOybmWm35g3NNVX3/sTm8FFa31Citp/CjzqIzhzLju3hSu5Pv9 /anaXwyrXBwBr3FxQVzZYxA5EStCpKmIBbqUMK7et0Nh9JMKUMAWm5fuFEEROKuv2I K0eyVCgirpIUO5uKwh0fxN2rSLjIHvnrXaXw5kNc= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 4540 X-purgate-ID: 154282::1452270972-000009F3-ACEB6D9E/0/0 X-Mailman-Approved-At: Sat, 09 Jan 2016 09:51:08 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:101403 Hi Saski, Python's dataset processing machine is *pandas*. Have a look at this cookbook entry here: http://nbviewer.ipython.org/github/jvns/pandas-cookbook/blob/v0.1/cookbook/Chapter%204%20-%20Find%20out%20on%20which%20weekday%20people%20bike%20the%20most%20with%20groupby%20and%20aggregate.ipynb Best, Sven On 07.01.2016 16:36, Saini, Sakshi wrote: > I have a complex dataset and I wish to write a code to create different graphs from it. I was wondering if it is possible for Python/ matplotlib/ seaborn to return a cumulative or mean distribution bar graph based on values in your dataset? > E.g. I have a certain volume in m3 for each rainfall event in mm, and I wish to plot the total volume OR average volume for different rainfall depths; somewhat like the following: > [cid:image002.jpg@01D14937.476CB2F0] > > Any tips please? > > > > Sakshi Saini, BASc, EIT > Water Resources Project Coordinator | Credit Valley Conservation > > The information contained in this Credit Valley Conservation electronic message is directed in confidence solely to the person(s) named above and may not be otherwise distributed, copied or disclosed including attachments. The message may contain information that is privileged, confidential and exempt from disclosure under the Municipal Freedom of Information and Protection and Privacy Act and by the Personal Information Protection Electronic Documents Act. The use of such personal information except in compliance with the Acts, is strictly prohibited. If you have received this message in error, please notify the sender immediately advising of the error and delete the message without making a copy. Thank you.