olap. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- The Apache License 2.0
- °Ô½ÃÀÚ À̸§:
- Norman Kramer
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/may-day/
olap. ű×
olap. ¼³¸í
OLAP´Â olap.xmla.buildin°ú °°Àº ÆÐÅ°Áö¿¡¼ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÏ´Â ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÏ´Â Python ¸ðµâÀÔ´Ï´Ù.ÀÌ µð·ºÅ丮 : Python Setup.py BuildTestingTest´Â Mondrian ¹× SSAS XMLA °ø±ÞÀÚ¿¡ ´ëÇØ ¼öÇàµË´Ï´Ù. TestSdiscover ¸ðµâÀº TestSexecute°¡ Substics (Áï, ¼ºñ½º À§Ä¡¿Í µ¥ÀÌÅÍ ¼Ò½ºÀÇ À̸§) .SampleHere´Â IT :: Import Olap.xmla.xmla·Î »ç¿ëÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù. xmla p = xmla.xmlaprovider () c = p.connect (location = "http : // localhost : 8080 / mondrian) / xmla ", dokerberos = false getDBSChemAcatalogs () # c.getMDChemAcubes (properties = { "Ä«Å»·Î±×": "catalogname"}) # mdx¸¦ ½ÇÇàÇϽʽÿÀ (¸óµå ¸®¾ÈÀÇ ½ÄÇ° »ùÇà īŻ·Î±×¿¡ ´ëÇÑ ÀÛ¾÷) cmd = "" "¼±Åà { .AllMembers} * { . . .Children} on led, . ""res = c.execute (cmd) , Ä«Å»·Î±× = "foodmart") res.getslice (property = "value") # ¼¿ #¿¡¼ value ¼Ó¼º ¸¸ returnÀ» ´·¯ res.getslice () # ¸ðµÎ res.getslice¸¦ ¹Ýȯ ÇÒ ¼ö ÀÖ½À´Ï´Ù (axis0 = 3) # 4 ¹ø° ¿ res.getslice (axis0 = 3, sliceraxis = 0) # À§¿Í µ¿ÀÏÇÏ°Ôµµ, SlicerAxis´Â ¹«½ÃµË´Ï´Ù. res.getslice (axis1 = ) # 2nd ¹× 3RD¿¡¼ ½½¶óÀ̽º µ¥ÀÌÅ͸¦ ¹ÝȯÇÕ´Ï´Ù. Çà Res.GetSlice (Axis0 = 3, Axis1 = ) # Á¦ 4 Ä®·³ Á¦Ç°ÀÇ È¨ÆäÀÌÁö ÀÌ¿Ü¿¡ 2 ¹ø° ¹× 3 Çà¿¡¼ ½½¶óÀ̽º µ¥ÀÌÅ͸¦ ¹ÝȯÇÕ´Ï´Ù.
olap. °ü·Ã ¼ÒÇÁÆ®¿þ¾î