Upgrade to Pro — share decks privately, control downloads, hide ads and more …

TokyoR #112 Beginners' Session2 data handing

TokyoR #112 Beginners' Session2 data handing

TokyoR112の初心者セッション2で発表した内容になります。

yu_sekiya

April 20, 2024
Tweet

More Decks by yu_sekiya

Other Decks in Programming

Transcript

  1.  3Ͱͷσʔλͷѻ͍ͷجຊ ɹϓϩάϥϛϯάجૅ༻ޠ ɹσʔλܕͱσʔλߏ଄  σʔλ෼ੳͷखॱ  UJEZEBUBͱ͸  UJEZWFSTFΛ࢖ͬͨϞμϯͳσʔλϋϯυϦϯά

    ɹσʔλ֓ཁͷ֬ೝ ɹύΠϓॲཧ ɹEQMZSUJEZSͷ࢖͍ํ ˎ؀ڥߏஙʹ͍ͭͯաڈͷࢿྉ΋ࢀর͍ͩ͘͞ IUUQTTQFBLFSEFDLDPNLPUBUZBNUFNBUPLZPSOVNCFS CFHJOOFSTTFTTJPO .&/6
  2. σʔλܕͱσʔλߏ଄ ܕ໊ ੑ࣭ ม׵֬ೝ ਺஋ܕ ࢛ଇԋࢉͳͲͷ਺ࣜʹΑΔॲཧ͕Ͱ͖ େখؔ܎͕͋Δ BTOVNFSJD JTOVNFSJD จࣈܕ

    μϒϧΫΥʔςʔγϣϯͰғΜͰදݱɻ ਖ਼نදݱʹΑΔॲཧ͕Մೳ BTDIBSBDUFS JTDIBSBDUFS Ҽࢠܕ -BCFMTʢจࣈʣͷཪʹMFWFMTʢ਺஋ʣ͕ ఆٛ͞Ε͍ͯΔ BTGBDUPS JTGBDUPS σʔλܕͱ͸ σʔλͷ࣋ͭੑ࣭ 3͸େ͖ͭ͘ͷܕͰೝࣝ
  3. σʔλܕͱσʔλߏ଄ ܕ໊ ੑ࣭ ม׵֬ೝ WFDUPSܕ ಉ͡छྨͷσʔλܕΛ࣍ݩͰूΊͨ΋ͷ BTWFDUPS JTWFDUPS NBUSJYܕ ಉ͡छྨͷσʔλܕΛ࣍ݩͰूΊͨ΋ͷ

    BTNBUSJY JTNBUSJY EBUBGSBNFܕ ҟͳΔσʔλܕΛ࣍ݩʹूΊͨ΋ͷɺ 3ͷओઓ৔ ͷ BTEBUBGSBNF JTEBUBGSBNF MJTUܕ ҟͳΔσʔλߏ଄ͷΦϒδΣΫτΛूΊͨ΋ͷ KTPO  ෼ੳ݁Ռͷग़ྗ͕͜ͷߏ଄Ͱ͋Δ͜ͱ͕ଟ͍ BTMJTU JTMJTU σʔλߏ଄ͱ͸ σʔλͷू·Γͷ࣋ͭੑ࣭
 3͸େ͖ͭ͘ͷߏ଄͕͋Δ wอ࣋Ͱ͖Δσʔλͷछྨ͕ҟͳΔ
 wσʔλߏ଄͝ͱʹͰ͖Δॲཧ͕ҟͳΔ
 wσʔλߏ଄͝ͱʹॲཧεϐʔυ͕ҟͳΔ
  4. UJEZWFSTFΛ࢖ͬͨϞμϯͳσʔλϋϯυϦϯά ύΠϓ  Λ࢖͏ͱෳ਺ͷॲཧΛՄಡੑΛ୲อͨ͠·· ·ͱΊͯॻ͘͜ͱ͕Մೳ QFOHVJOT pMUFS TQFDJFTl"EFMJFz  HSPVQ@CZ

    JTMBOE TFY  TVNNBSJTF OO  NFBO@NBTTNFBO CPEZ@NBTT@H OBSN536& σʔλQFOHVJOT͔Β "EFMJFϖϯΪϯ͚ͩநग़͠ JTMBOEͱTFYͷ૊Έ߹ΘͤͰ ಄਺Λ਺͑Δ͜ͱͱ ମॏͷฏۉΛٻΊΔ͜ͱΛ ࣮ߦ͢Δ
  5. EQMZSͷجຊؔ਺ ؔ਺ ಈ࡞ TFMFDU ྻͷબ୒ pMUFS ৚݅ʹΑΔߦͷநग़ NVUBUF ྻͷ௥Ճ HSPVQ@CZ

    ৚݅ʹΑΔߦͷάϧʔϓԽ TVNNBSJTF ߦͷू໿ KPJO EBUBGSBNFಉ࢜ͷ݁߹ BSSBOHF ߦͷฒ΂ସ͑
  6. σʔλͷ݁߹ ؔ਺ ಈ࡞ MFGU@KPJO Y Z CZl[z YΛج४ʹ݁߹ SJHIU@KPJO Y

    Z CZl[z ZΛج४ʹ݁߹ JOOFS@KPJO Y Z CZl[z Y Z྆ํʹଘࡏ͢ΔߦͷΈ݁߹ GVMM@KPJO Y Z CZl[z Y Z྆ํͷߦΛ݁߹ BOUJ@KPJO Y Z CZl[z Zͱඥ͔ͮͳ͍YΛฦ͢ ˎෳ਺ྻΛLFZʹKPJO͢Δ৔߹ CZD l[z l[[z  ˎLFZʹ͢Δྻ໊͕ҟͳΔ৔߹ CZD l[zl[[z 
  7. UJEZSͷجຊؔ਺ ؔ਺ ಈ࡞ QJWPU@MPOHFS EBUBGSBNFΛॎ௕ʹมܗ͢Δ wDPMTಈ͔͍ͨ͠ྻ wOBNFT@UP΋ͱ΋ͱྻ໊ͩͬͨ΋ͷΛೖΕΔྻ໊ wWBMVFT@UPಈ͔ͨ͠஋ΛೖΕΔྻ໊ QJWPU@XJEFS EBUBGSBNFΛԣ޿ʹมܗ͢Δ

    wJE@DPMTࢦఆͨ͠ྻͷϢχʔΫͳ૊Έ߹Θ͕ͤͦΕͧΕߦʹͳΔ wOBNFT@GSPN৽͘͠ྻ໊ʹͳΔྻ wWBMVFT@GSPNಈ͔͍ͨ͠ྻ VOJU ྻಉ࢜Λ݁߹͢Δ TFQBSBUF ྻΛ෼͚Δ ESPQ@OB /"͕͋ΔߦΛ࡟আ͢Δ SFQMBDF@OB /"Λࢦఆͨ͠஋ʹஔ׵͢Δ pMM /"Λɺ/"ͷ্ԼͲͪΒ͔ͷ஋ʹஔ׵͢Δ
  8. BDSPTTؔ਺ͱ৚݅ॲཧ ؔ਺ ಈ࡞ TUBSUT@XJUI ࢦఆͨ͠จࣈྻ͔Β࢝·Δྻ͚ͩબ୒ FOET@XJUI ࢦఆͨ͠จࣈྻͰऴΘΔྻ͚ͩબ୒ DPOUBJOT ࢦఆͨ͠จࣈྻؚ͕·ΕΔྻ͚ͩબ୒ NBUDIFT

    ࢦఆͨ͠ਖ਼نදݱͱҰக͢Δྻ͚ͩબ୒ POF@PG ࢦఆͨ͠จࣈϕΫτϧͱҰக͢Δྻ͚ͩબ୒ OVN@SBOHF ࢦఆͨ͠൪߸ͷྻ͚ͩબ୒ XIFSF ܕ൑ผͰࢦఆͨ͠ํͷྻ͚ͩબ୒ BDSPTTؔ਺ɿෳ਺ྻΛࢦఆͯ͠೚ҙͷॲཧΛ࣮ࢪ͢Δؔ਺ ɹEQMZSUJEZSͷؔ਺ʹ౷Ұͯ͠ద༻Ͱ͖Δ 9NVUBUF BDSPTT DPMT GOT  DPMTྻ໊ͷࢦఆ GOTద༻͢Δॲཧ
  9. &YBNQMF TVNNBSZ@QFOHVJOTQFOHVJOT pMUFS JTOB TFY  HSPVQ@CZ TQFDJFT JTMBOE TFY

     TVNNBSJTF BDSPTT XIFSF JTOVNFSJD  ɹɹɹɹɹɹɹɹMJTU NFBONFBO ɹTETE  ৚݅ɿ਺஋ ൑ผ໊ ؔ਺ ൑ผ໊ ؔ਺ ݩͷྻ໊@൑ผ໊ ૊Έ߹Θͤ ૊Έ߹Θͤ