急徵python matplotlib 家教 (週二或週3晚上)
1.對象: 34,male←(年齡、性別缺一不可;漏掉一個水桶三天。)
2.地點: 台大校園 (可議,需能VPN連回公司server) ←(請注意自身安全、財物等。)
3.科目:bar plot for a running total of revenue over time
4.上課時間:本週2或3晚上
5.時薪:500/hour ←(不能打"面議、詳談、可議、自行開價等;若限制水桶14天。)
6.條件:←(依據法令規範,不得限制性別,若限制了水桶14天。)
7.聯絡方式:0911209805, luenhchang@gmail.com
8.附註:完整說明如下:
您好, 我叫Chang. 正急徵一名python matplotlib的家教幫助我繪圖。這一兩天就需要程
式了。是否能幫個忙將以下訊息forward給可能能幫忙的人? 感謝。
--------------------------------------------------------------
手機: 0911209805 連絡: luenhchang@gmail.com
急徵 pyplot 家教 (單次):
我想用python畫一個隨時間變化的銷售累加圖,以逐月或逐季的時間單位呈現。目前的
資料是由公司產品的API return回來python的,格式是 a list of lists. 其中有3個項目
,分別是zipcode, 日期及該日的銷售量。data type全是integer. 以下是幾筆資料的例
子. 資料是由銷量最佳的區域 (由zipcode代表)往較差的區域排列。已sorted一些例子:
dat= [[106, 20140801, 28971], [106, 20140805, 20962], [106, 20140806, 14207],
[330, 20150202, 11738], [330, 20150203, 24894], [105, 20150202,
299], [105, 20150202, 99]]
為了畫這2個圖我可能需做以下:
1. create a running total of the sales within each zipcode
2. convert yyyymmdd into a datetime object readable by the plot function
3. plot a bar chart with cumulative 銷售量 from each zipcode (10 zipcodes in total).
zipcode數目希望不要hard-coded, 以方便調整。
4. 圖的呈現方式類似以下連結:
https://bespokeblog.wordpress.com/…/basic-data-plotting-wi…/
5.一個能把datetime資料轉成 datetime object的function
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.224.202.247
※ 文章網址: https://www.ptt.cc/bbs/HomeTeach/M.1427117505.A.494.html