| dictmapper. Àº ÆòÆòÇÑ ±¸Á¶¹°¿¡ °èÃþ Àû »çÀüÀ» ¸ÅÇÎÇÕ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
dictmapper. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://reshefmann.com
dictmapper. ű×
dictmapper. ¼³¸í
DictMapper´Â ÆÄÀ̽㠻çÀüÀÇ ½ÃÄö½º¸¦ Ç¥ Çü½ÄÀ¸·Î º¯È¯ ÇÒ ¼ö ÀÖµµ·Ï ÀÛ¼ºµÈ ÆÄÀ̽㠸ðµâÀÔ´Ï´Ù. json ¹®¼¸¦ º¯È¯ÇÏ´Â µ¥ µµ¿òÀ̵ǵµ·Ï CSV fromat.UsageCreate¿¡¼ infermapper °¡Á® ¿À±â ¸ÅÆÛ (Mapper) : user_id = ¸ÊÇÎ ( ' user_id ') À̸ÞÀÏ = ¸ÅÇÎ ('À̸ÞÀÏ ') À̸§ = ¸ÅÇÎ (¶÷´Ù u :'% s % s '% (u , u , name ='»ç¿ëÀÚ À̸§ ') nickname = ¸ÊÇÎ ( '´Ð³×ÀÓ', ±âº»°ª = 'n / a') street = ¸ÅÇÎ ( 'ÁÖ¼Ò / °Å¸®') µµ½Ã = ¸ÅÇÎ ( 'ÁÖ¼Ò / µµ½Ã') Joined_at = ¸ÅÇÎ ( 'joined_at', º¯È¯ = ¶÷´Ù D : d.strftime ( '% y-% m-% d')) »ùÇà ÀÔ·Â : users_docs = Ãâ·Â : >>> Mapper = usermapper () >>> mapper.headers () >>> res = mapper.map (users_docs) >>> res
dictmapper. °ü·Ã ¼ÒÇÁÆ®¿þ¾î