å¹¹äºã®ãããªã¿ã¨ãã¦ã®Google Formã¨Python
ã¯ããã«
ãã®è¨äºã§ã¯å¹¹äºã¨ãã¦ãããç¨åº¦ã®å¤§ããã®é£²ã¿ä¼ãè¤æ°åããªããªããã°ãããªã人ã«ã Pythonã¨Google Formã使ã£ã¦ã®äºå®ã®éè¨ãé²ããè¨äºã§ãã æ¢åã®ãã¼ã«ã§ãã調æ´ãããªã©ã¯çæã®äºå®ãèãåã«ã¯éå®ãã¾ããã
- é·æã®äºå®ã¨ãªãã¨æ¯åæã¡è¾¼ãã®ããã©ã
- èªç±è¨è¿°ãªã©ã¯ä¸ç·ã«èãã«ãã
- åç´ãªã«ã¦ã³ãã«ã¨ã©ã¾ããã°ã©ããªã©è¦è¦çãªæ¹æ³ã§ã¯ã§ããªã
ä»åã¯
ã§éè¨ããæ¹æ³ãæ¸ãã¦ã¿ããã¨æãã¾ãã
å¹¹äºã®ãããªã¿
ãã®1. Google Formã§äºå®ãèã
Google Formã§äºå®ãèãã¾ãã Formã¯ä»¥ä¸ã®è¦ä»¶ãæºããããã«ãã¾ãã
- ãã®ãã¨ã®å¦çãèãã¦ã1,2,3..ã¨ãã£ãã«ã³ãåºåãã§æ¥ä»ãå ¥åãã
- å ¥åãã人ã®ãã¨ãèãã¦ãæ¥ä»ã®ç¯å²ã§ã®å ¥åãå¯è½ã«ãã(ä¾ãã°1,3,4-10)
ãã©ã¼ã ã§è¦ãã¨ãããªæãã§ããä¸è¨ãæºãããããæ£è¦è¡¨ç¾ã§å ¥åãå¶éãã¦ãã¾ãã
æ£è¦è¡¨ç¾ã¯ (([0-9]{1,2}(-[0-9]{1,2})?),)*([0-9]{1,2}(-[0-9]{1,2})?) ãå©ç¨ãã¦ãã¾ãã
ããã¯ãã¿ã¼ã³: ([0-9]{1,2}(-[0-9]{1,2})?)ã
- ã«ã³ãã§åºåã£ãæååã§ãã£ã¦ã»ãã
- 1åã¯å«ãæååã§ãã£ã¦ã»ãã
ã¨ããã«ã¼ã«ã§ããã®ãã¿ã¼ã³ã¨ããã®ã¯ã
- 0ãã9ã®æ°åã1åã2å
- ãªãã·ã§ã³ã§ãã¤ãã³ãã¤ããå¾ã«æ°åãå ¥ã£ããã¿ã¼ã³ãOK (ããã¯ç¯å²ã®å ¥åã«å¯¾å¿)
ã¨ãã¦ãã¾ãã
ãã®2. Pythonã§éè¨ãã
Pythonã®Pandasã©ã¤ãã©ãªã§éè¨ãã¾ãããã®ééè¨ç¨ã®ã³ã¼ãã¯ãã©ã«ãã«å ¥ãã¦ãgitã§ç®¡çããã¨ä¾¿å©ã§ãã以ä¸æé ã§ãã
- éè¨ç¨ãã©ã«ãã§æ°ãã«ãã©ã³ããåã
- Google FormããCSVå½¢å¼ã§çµæããã¦ã³ãã¼ã
- ãã©ã«ãã«ãã¼ã¿ãå ¥ãã
- éè¨ãã
éè¨ã®æã¯ãä¾ãã°1æ¥ãã10æ¥ã®äºå®ãèãããã¦ã å ã»ã©ã®1,3,5-8ãåçã¨ãã¦å¾ãããå ´åã«ãããã
[1,0,1,0,1,1,1,1,0,0]
ã¨ãã¦ãéè¨ããã¾ãã
ã¨ããããçµæã ãã§ããã1æ¥ãã31æ¥ã ã£ãããããªæãã®ãã¼ã¿ã«å¤ãã¾ãã
ï¼ååã¯ä¼ãã¦ããã¾ãï¼
Pythonã®Pandasã¯éè¨é¢æ°ã¨ã°ã©ãã®é¢æ°ãããã®ã§ããããããããªéè¨ãã§ãã¾ãã 横軸ã¯æ¥ä»ã縦軸ã¯äººæ°ã§ãã
ããã§ãã¤ã人ãæ¥ãã®ããããã¨ãã寸æ³ã§ãã
çµæã¨å±æ
- (ä¸å¿)åå©ç¨ã§ããå½¢ã§éè¨ãã§ããããã«ãªã£ãã¤ãã
- 使ãã人ãªãâ¦æ¥½â¦ï¼
- ã´ãã ãã©jupyter notebookãGitã使ã£ã¦ããããããã½ã¼ã¹ããã¦ã¿ã¾ã