{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.13","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":50160,"databundleVersionId":7602123,"sourceType":"competition"}],"dockerImageVersionId":30646,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"## Import\n\n---","metadata":{}},{"cell_type":"code","source":"import numpy as np\nimport polars as pl\nimport os\nimport glob\nimport pprint","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2024-02-11T06:57:32.224846Z","iopub.execute_input":"2024-02-11T06:57:32.225243Z","iopub.status.idle":"2024-02-11T06:57:32.231684Z","shell.execute_reply.started":"2024-02-11T06:57:32.225213Z","shell.execute_reply":"2024-02-11T06:57:32.229792Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## feature_definitions.csvを翻訳\n----\nVariable|Description\n-|-\nactualdpd_943P|前契約の延滞日数（実際）。\nactualdpdtolerance_344P|許容範囲内のクライアントの延滞日数。\naddres_district_368M|個人の住所の地区。\naddres_role_871L|住所の役割。\naddres_zip_823M|住所の郵便番号。\namount_1115A|信用情報機関によって提供されたアクティブ契約のクレジット額。\namount_416A|預金額。\namount_4527230A|政府の登録簿に記載された税額控除額。\namount_4917619A|政府の登録簿に記載された税額控除額。\namtdebitincoming_4809443A|入金デビットカード取引額。\namtdebitoutgoing_4809440A|出金デビットカード取引額。\namtdepositbalance_4809441A|クライアントの預金残高。\namtdepositincoming_4809444A|クライアントの口座への入金額。\namtdepositoutgoing_4809442A|クライアントの口座からの出金額。\namtinstpaidbefduel24m_4187115A|過去24ヶ月間に期限前に支払われた分割払いの回数。\nannualeffectiverate_199L|終了した契約の利率。\nannualeffectiverate_63L|アクティブ契約の利率。\nannuity_780A|毎月の年金額。\nannuity_853A|前回の申請の月々の年金。\nannuitynextmonth_57A|来月の年金額。\napplicationcnt_361L|クライアントと同じメールアドレスに関連する申請の数。\napplications30d_658L|過去30日間にクライアントが行った申請の数。\napplicationscnt_1086L|同じ電話番号に関連する申請の数。\napplicationscnt_464L|過去30日間に申請者と同じ雇用主を持つ他のクライアントが行った申請の数。\napplicationscnt_629L|過去7日間に同じ雇用主での申請の数。\napplicationscnt_867L|同じ携帯電話に関連する申請の数。\napprovaldate_319D|前回の申請の承認日。\nassignmentdate_238D|税務データ - 割り当て日。\nassignmentdate_4527235D|税務データ - 割り当て日。\nassignmentdate_4955616D|税務割り当て日。\navgdbddpdlast24m_3658932P|過去24ヶ月間の支払いの延滞日数または期日前の平均日数。\navgdbddpdlast3m_4187120P|過去3ヶ月間の支払いの延滞日数または期日前の平均日数。\navgdbdtollast24m_4525197P|過去24ヶ月間で許容される期日前の支払い日数の平均。\navgdpdtolclosure24_3658938P|最大終了日から過去24ヶ月間の許容される延滞日数（DPD）の平均。契約が進行中の場合、計算は現在の日付に基づいて行われます。\navginstallast24m_3658937A|過去24ヶ月間にクライアントが支払った平均分割払い回数。\navglnamtstart24m_4525187A|過去24ヶ月間の平均ローン額。\navgmaxdpdlast9m_3716943P|過去9ヶ月間におけるクライアントの平均延滞日数（DPD）。\navgoutstandbalancel6m_4187114A|過去6ヶ月間の申請者の平均未払い残高。\navgpmtlast12m_4525200A|過去12ヶ月間にクライアントが行った支払いの平均。\nbankacctype_710L|申請者の銀行口座の種類。\nbirth_259D|個人の生年月日。\nbirthdate_574D|クレジット局データのクライアントの生年月日。\nbirthdate_87D|個人の生年月日。\nbyoccupationinc_3656910L|前回の申請からの申請者の収入。\ncacccardblochreas_147M|カードブロックの理由。\ncancelreason_3545846M|申請のキャンセル理由。\ncardtype_51L|クレジットカードの種類。\nchildnum_185L|申請者の子供の数。\nchildnum_21L|前回の申請での子供の数。\nclassificationofcontr_1114M|アクティブ契約の分類。\nclassificationofcontr_13M|アクティブ契約の分類。\nclassificationofcontr_400M|終了した契約の分類。\nclientscnt_100L|雇用主の電話とクライアントの一致する申請の数。\nclientscnt_1022L|同じ携帯電話を共有するクライアントの数。\nclientscnt_1071L|代替電話番号がクライアントのものと一致する申請の数。\nclientscnt_1130L|クライアントの電話番号が代替電話連絡先と一致する申請の数。\nclientscnt_136L|クライアントのメールアドレスと同じメールアドレスに関連する申請の数。\nclientscnt_157L|雇用主がクライアントと同じ電話番号を持つクライアントの数。\nclientscnt_257L|代替電話番号を共有するクライアントの数。\nclientscnt_304L|同じ電話番号を持つクライアントの数。\nclientscnt_360L|同じ代替電話番号と雇用主の電話番号を持つクライアントの数。\nclientscnt_493L|雇用主とクライアントの両方の一致する電話番号を持つクライアントの数。\nclientscnt_533L|クライアントと代替者の同じ電話番号を持つクライアントの数\nclientscnt_887L|同じ雇用主の電話番号を共有するクライアントの数。\nclientscnt_946L|携帯電話と雇用主の番号が一致するクライアントの数。\nclientscnt12m_3712952L|過去12ヶ月間に申請者と同じ携帯電話を使用したクライアントの数。\nclientscnt3m_3712950L|過去3ヶ月間に同じ携帯電話番号を持つクライアントの数。\nclientscnt6m_3712949L|過去6ヶ月間に同じ携帯番号を使用したクライアントの総数。\ncntincpaycont9m_3716944L|過去9ヶ月間の入金回数。\ncntpmts24_3658933L|過去24ヶ月間で任意の入金があった月数。\ncollater_typofvalofguarant_298M|アクティブ契約の担保評価タイプ。\ncollater_typofvalofguarant_407M|終了した契約の担保評価タイプ。\ncollater_valueofguarantee_1124L|アクティブ契約の担保価値。\ncollater_valueofguarantee_876L|終了した契約の担保価値。\ncollaterals_typeofguarante_359M|終了した契約で使用された担保のタイプ。\ncollaterals_typeofguarante_669M|アクティブ契約の担保タイプ。\ncommnoinclast6m_3546845L|過去6ヶ月間に低収入を示す通信の数。\ncontaddr_district_15M|連絡先の住所の郵便番号。\ncontaddr_matchlist_1032L|連絡先の住所がコードリストにあるかどうかを示す。\ncontaddr_smempladdr_334L|連絡先の住所が雇用先の住所と同じかどうかを示す。\ncontaddr_zipcode_807M|連絡先の住所の郵便番号。\ncontractdate_551D|アクティブ契約の契約日\ncontractenddate_991D|預金契約の終了日。\ncontractmaturitydate_151D|アクティブ契約の終了日。\ncontractssum_5085716L|外部信用情報局から取得した契約の総額。\ncontractst_516M|契約状態。\ncontractst_545M|契約状態。\ncontractst_964M|終了した信用契約の契約状態。\ncontractsum_5085717L|他の契約価値の合計。\ncontracttype_653M|契約タイプ\nconts_role_79M|個人の連絡先役割のタイプ。\nconts_type_509L|前回の申請での個人連絡先タイプ。\ncreationdate_885D|前回の申請の作成日。\ncredacc_actualbalance_314A|信用口座の実際の残高。\ncredacc_cards_status_52L|前回の信用口座のカード状態。\ncredacc_credlmt_575A|前回の申請で提供されたクレジットカードの信用限度額。\ncredacc_maxhisbal_375A|前回の信用口座の最大歴史的残高\ncredacc_minhisbal_90A|前回の信用口座の最小歴史的残高。\ncredacc_status_367L|前回の信用申請の口座状態。\ncredacc_transactions_402L|申請者の前回の信用口座で行われた取引の数。\ncredamount_590A|前回の申請のローン額またはカード限度額。\ncredamount_770A|ローン額またはクレジットカード限度額。\ncredlmt_1052A|アクティブローンの信用限度額。\ncredlmt_228A|終了したローンの信用限度額。\ncredlmt_230A|信用局からの終了した信用契約の信用限度額。\ncredlmt_3940954A|アクティブローンの信用限度額。\ncredlmt_935A|アクティブローンの信用限度額。\ncredor_3940957M|債権者名\ncredquantity_1099L|信用情報局の信用数\ncredquantity_984L|信用情報局の終了した信用数。\ncredtype_322L|信用の種類。\ncredtype_587L|前回の申請の信用タイプ。\ncurrdebt_22A|クライアントの現在の債務額。\ncurrdebt_94A|前回の申請の現在の債務。\ncurrdebtcredtyperange_828A|申請者の現在の債務額。\ndateactivated_425D|申請者の前回の申請の契約活性化日。\ndatefirstoffer_1144D|顧客関係管理（CRM）の最初のオファー日。\ndatelastinstal40dpd_247D|40日以上延滞した最後の分割払いの日付。\ndatelastunpaid_3546854D|最後に未払いだった分割払いの日付。\ndateofbirth_337D|クライアントの生年月日。\ndateofbirth_342D|クライアントの生年月日。\ndateofcredend_289D|アクティブクレジット契約の終了日。\ndateofcredend_353D|終了したクレジット契約の終了日。\ndateofcredstart_181D|クレジット契約が終了した日。\ndateofcredstart_739D|終了したクレジット契約の開始日。\ndateofrealrepmt_138D|クレジットの終了日（契約終了日）。\ndays120_123L|過去120日間の信用局への照会回数。\ndays180_256L|過去180日間の信用局への照会回数。\ndays30_165L|過去30日間の信用局への照会回数。\ndays360_512L|過去360日間の信用局への照会回数。\ndays90_310L|過去90日間の信用局への照会回数。\ndaysoverduetolerancedd_3976961L|期限日を過ぎてからの日数（許容範囲内）。\ndebtoutstand_525A|既存契約の未払い額。\ndebtoverdue_47A|クライアントの既存の信用契約に現在延滞している額。\ndebtpastduevalue_732A|既存契約の未払い債務額。\ndebtvalue_227A|既存債務契約の未払い額。\ndeductiondate_4917603D|税控除日。\ndeferredmnthsnum_166L|延期された月数。\ndescription_351M|信用局によるクライアントの分類。\ndescription_5085714M|信用局によるクライアントの分類。\ndisbursedcredamount_1113A|統合後の支払われた信用額。\ndisbursementtype_67L|支払いタイプ。\ndistrict_544M|前回のローン申請で使用された住所の地区。\ndownpmt_116A|前払い額。\ndownpmt_134A|前回の申請の前払い額。\ndpd_550P|保証が提供されたアクティブローンの延滞日数。\ndpd_733P|信用局データによる保証されたローンの延滞日数。\ndpdmax_139P|アクティブ契約の最大延滞日数。\ndpdmax_757P|終了した契約の最大延滞日数。\ndpdmax_851P|信用局のアクティブ契約における最大過去延滞日数。\ndpdmaxdatemonth_442T|信用局データの終了した契約の最大DPD発生月。\ndpdmaxdatemonth_804T|信用局の記録におけるアクティブ契約の最大Day Past Due（DPD）発生月。\ndpdmaxdatemonth_89T|信用局のアクティブ契約における最大延滞日数発生月。\ndpdmaxdateyear_596T|アクティブ契約の最大Days Past Due（DPD）発生年。\ndpdmaxdateyear_742T|信用局のアクティブ信用契約での最大Days Past Due（DPD）の年。\ndpdmaxdateyear_896T|信用局から得られた終了した契約の最大Days Past Dueの年。\ndtlastpmt_581D|申請者が行った最後の支払い日。\ndtlastpmtallstes_3545839D|申請者の最後の支払い日。\ndtlastpmtallstes_4499206D|申請者が行った最後の支払い日。\neducation_1103M|外部ソースによって提供されたクライアントの教育レベル。\neducation_1138M|前回の申請からの申請者の教育レベル。\neducation_88M|クライアントの教育レベル。\neducation_927M|個人の教育レベル。\neir_270L|利率。\nempl_employedfrom_271D|雇用開始日。\nempl_employedtotal_800L|個人の雇用期間。\nempl_industry_691L|個人の雇用業界。\nempladdr_district_926M|雇用主の住所がある地区。\nempladdr_zipcode_114M|雇用主の住所の郵便番号。\nemployedfrom_700D|前回の申請からの雇用開始日。\nemployername_160M|雇用主の名前。\nempls_economicalst_849M|個人（num_group1 - 個人、num_group2 - 雇用）の経済状態。\nempls_employedfrom_796D|雇用開始（num_group1 - 個人、num_group2 - 雇用）。\nempls_employer_name_740M|雇用主の名前（num_group1 - 個人、num_group2 - 雇用）。\nequalitydataagreement_891L|クライアントの社会人口統計データ（例：教育、家族状況、住宅タイプなど）に急激な変化があったことを示すフラグ。\nequalityempfrom_62L|クライアントの雇用期間に急激な変化があったことを示すフラグ。\nfamilystate_447L|個人の家族状況。\nfamilystate_726L|申請者の前回の申請の家族状況。\nfinancialinstitution_382M|終了した契約に関連する金融機関の名前。\nfinancialinstitution_591M|アクティブ契約の金融機関名。\nfirstclxcampaign_1125D|クライアントの最初のキャンペーン日。\nfirstdatedue_489D|最初の支払い期日。\nfirstnonzeroinstldate_307D|前回の申請での最初の分割払い日。\nfirstquarter_103L|第1四半期に信用局から得られた結果の数。\nfor3years_128L|過去3年間で拒否された申請の数。\nfor3years_504L|過去三年間のクライアントの信用履歴データ。\nfor3years_584L|過去3年間のキャンセル数。\nformonth_118L|月間の拒否数。\nformonth_206L|前月のキャンセル数。\nformonth_535L|最後の月の信用履歴。\nforquarter_1017L|最後の四半期に信用局に記録されたキャンセル数。\nforquarter_462L|最後の四半期に拒否された信用申請の数。\nforquarter_634L|最後の四半期の信用履歴。\nfortoday_1092L|今日のクライアントの信用履歴。\nforweek_1077L|最後の週のキャンセル数。\nforweek_528L|最後の週の信用履歴。\nforweek_601L|最後の週に拒否された申請の数。\nforyear_618L|前年の申請拒否数。\nforyear_818L|昨年発生したキャンセル数。\nforyear_850L|最後の年の信用履歴。\nfourthquarter_440L|第4四半期の結果の数。\ngender_992L|個人の性別。\nhomephncnt_628L|クライアントの申請書に記載された異なる自宅電話の数。\nhousetype_905L|個人の家のタイプ。\nhousingtype_772L|個人の住宅タイプ。\nincometype_1044T|個人の収入の種類\ninittransactionamount_650A|信用申請の初期取引額。\ninittransactioncode_186L|初期信用取引の取引タイプ。\ninittransactioncode_279L|クライアントの前回の申請で行われた初期取引のタイプ。\ninstallmentamount_644A|終了し、担保された信用契約の分割払い額。\ninstallmentamount_833A|信用局の担保され、アクティブな契約の分割払い額。\ninstlamount_768A|信用局のアクティブ契約の分割払い額。\ninstlamount_852A|終了した契約の分割払い額。\ninstlamount_892A|アクティブな信用契約の分割払い額。\ninteresteffectiverate_369L|アクティブ契約の利率。\ninterestrate_311L|アクティブな信用契約の利率。\ninterestrate_508L|信用局の終了した契約の利率。\ninterestrategrace_34L|猶予期間中の利率。\ninterestrateyearly_538L|信用局から得られた既存契約の年間利率。\nisbidproduct_1095L|商品がクロスセルであるかどうかを示すフラグ。\nisbidproduct_390L|商品が前回の申請でクロスセルであるかどうかを判断するフラグ。\nisbidproductrequest_292L|商品がクロスセルであるかどうかを示すフラグ。\nisdebitcard_527L|前回の申請で商品がデビットカードであるかどうかを示すフラグ。\nisdebitcard_729L|商品がデビットカードであるかどうかを示すフラグ。\nisreference_387L|個人が参照連絡先であるかどうかを示すフラグ。\nlanguage1_981M|個人の主要言語。\nlast180dayaveragebalance_704A|過去180日間のデビットカードの平均残高。\nlast180dayturnover_1134A|過去180日間のデビットカードの売上高。\nlast30dayturnover_651A|過去30日間のデビットカードの売上高。\nlastactivateddate_801D|前回の申請の契約活性化日。\nlastapplicationdate_877D|前回の顧客の申請日。\nlastapprcommoditycat_1041M|申請者が行った最後のローン申請の商品カテゴリ。\nlastapprcommoditytypec_5251766M|最後の申請の商品タイプ。\nlastapprcredamount_781A|クライアントの最後の申請からの信用額。\nlastapprdate_640D|クライアントの最も最近の前回の申請の承認日。\nlastcancelreason_561M|最後の申請のキャンセル理由。\nlastdelinqdate_224D|最後の延滞発生日。\nlastdependentsnum_448L|クライアントの最後のローン申請の扶養家族の数。\nlastotherinc_902A|最後の申請でクライアントが報告したその他の収入の額。\nlastotherlnsexpense_631A|最後の申請からの他のローンの月額費用。\nlastrejectcommoditycat_161M|申請者の最後に拒否された申請の商品カテゴリ。\nlastrejectcommodtypec_5251769M|最後に拒否された申請の商品タイプ。\nlastrejectcredamount_222A|最後に拒否された申請の信用額。\nlastrejectdate_50D|申請者によって最も最近拒否された申請の日付。\nlastrejectreason_759M|最も最近拒否された申請の拒否理由。\nlastrejectreasonclient_4145040M|クライアントの最後のローン拒否理由。\nlastrepayingdate_696D|申請者による最後の支払い日。\nlastst_736L|クライアントの前回の信用申請の状態。\nlastupdate_1112D|信用局のアクティブ契約の最後の更新日。\nlastupdate_260D|アクティブ契約の最終更新日。\nlastupdate_388D|信用局の終了した契約の最終更新日。\nmaininc_215A|クライアントの主要収入額。\nmainoccupationinc_384A|クライアントの主要収入の額。\nmainoccupationinc_437A|前回の申請でのクライアントの主要収入額。\nmaritalst_385M|クライアントの婚姻状態。\nmaritalst_703L|クライアントの婚姻状態。\nmaritalst_893M|クライアントの婚姻状態\nmastercontrelectronic_519L|クライアントのためのマスター契約の存在を示すフラグ。\nmastercontrexist_109L|申請者が既存のマスター契約を持っているかどうかを示すフラグ。\nmaxannuity_159A|クライアントが以前に得た最大年金。\nmaxannuity_4075009A|現在の申請でクライアントに提供された最大年金。\nmaxdbddpdlast1m_3658939P|過去1ヶ月間の最大延滞日数。負の値は期日前の日数を示します。\nmaxdbddpdtollast12m_3658940P|過去12ヶ月間の最大延滞日数。負の値は期日前の日数を意味します。\nmaxdbddpdtollast6m_4187119P|過去6ヶ月間の最大延滞日数。この予測子は、期日前の日数を表す場合に負の数値を取ります。\nmaxdebt4_972A|4ヶ月以上前の履歴でクライアントの最大元金債務。\nmaxdebtpduevalodued_3940955A|最大債務時の延滞日数。\nmaxdpdfrom6mto36m_3546853P|6ヶ月から36ヶ月の期間の最大Days Past Due（DPD）。\nmaxdpdinstldate_3546855D|クライアントが最も延滞した分割払いの日付。\nmaxdpdinstlnum_3546846P|クライアントが最も延滞した分割払いの回数。\nmaxdpdlast12m_727P|過去12ヶ月間の最大延滞日数。\nmaxdpdlast24m_143P|過去24ヶ月間の最大延滞日数。\nmaxdpdlast3m_392P|過去3ヶ月間の最大延滞日数。\nmaxdpdlast6m_474P|過去6ヶ月間の最大延滞日数。\nmaxdpdlast9m_1059P|過去9ヶ月間の最大延滞日数。\nmaxdpdtolerance_374P|許容範囲内の最大延滞日数。\nmaxdpdtolerance_577P|前回の申請/申請での許容される最大DPD。\nmaxinstallast24m_3658928A|過去24ヶ月間の最大分割払い\nmaxlnamtstart6m_4525199A|過去6ヶ月間に開始された最大ローン額。\nmaxoutstandbalancel12m_4187113A|過去12ヶ月間の最大未払い残高。\nmaxpmtlast3m_4525190A|過去3ヶ月間にクライアントが行った最大支払い。\nmindbddpdlast24m_3658935P|過去24ヶ月間の最小延滞日数（または期日前の日数）。\nmindbdtollast24m_4525191P|過去24ヶ月間の最小期日前の日数。\nmobilephncnt_593L|同じ携帯電話番号を持つ人の数。\nmonthlyinstlamount_332A|アクティブ契約の月々の分割払い額。\nmonthlyinstlamount_674A|終了した契約の月々の分割払い額。\nmonthsannuity_845L|申請者の月々の年金額。\nname_4527232M|雇用主の名前。\nname_4917606M|雇用主の名前。\nnominalrate_281L|アクティブ契約の利率。\nnominalrate_498L|終了した契約の利率。\nnumactivecreds_622L|アクティブな信用の数。\nnumactivecredschannel_414L|アクティブな信用の数。\nnumactiverelcontr_750L|アクティブなリボルビングクレジットの数。\nnumberofcontrsvalue_258L|信用情報局のアクティブ契約の数。\nnumberofcontrsvalue_358L|終了した信用契約の数。\nnumberofinstls_229L|終了した契約の分割払いの数。\nnumberofinstls_320L|アクティブ契約の分割払いの数。\nnumberofinstls_810L|アクティブ契約の分割払いの数。\nnumberofoutstandinstls_520L|終了した契約の未払い分割払いの数。\nnumberofoutstandinstls_59L|アクティブ契約の未払い分割払いの数。\nnumberofoverdueinstlmax_1039L|アクティブ契約の未払い分割払いの数。\nnumberofoverdueinstlmax_1151L|終了した契約の最大未払い分割払いの数。\nnumberofoverdueinstlmaxdat_148D|終了した契約の最大未払い分割払いの日付。\nnumberofoverdueinstlmaxdat_641D|アクティブ契約の最大未払い分割払いの日付。\nnumberofoverdueinstls_725L|アクティブ契約の最大未払い分割払いの数。\nnumberofoverdueinstls_834L|終了した契約の未払い分割払いの数。\nnumberofqueries_373L|信用局への照会回数。\nnumcontrs3months_479L|過去3ヶ月間の契約数。\nnumincomingpmts_3546848L|入金回数。\nnuminstlallpaidearly3d_817L|期日の3日前に少なくとも支払われた分割払いの回数。\nnuminstls_657L|分割払いの回数。\nnuminstlsallpaid_934L|支払われた分割払いの回数。\nnuminstlswithdpd10_728L|10日以上延滞した分割払いの回数。\nnuminstlswithdpd5_4187116L|少なくとも5日間延滞した分割払いの回数。\nnuminstlswithoutdpd_562L|期日を過ぎなかった分割払いの回数。\nnuminstmatpaidtearly2d_4499204L|期日の2日以上前に支払われた分割払いの回数。\nnuminstpaid_4499208L|支払われた分割払いの回数。\nnuminstpaidearly_338L|期日前に支払われた分割払いの回数。\nnuminstpaidearly3d_3546850L|期日の3日以上前に支払われた分割払いの回数。\nnuminstpaidearly3dest_4493216L|期日の3日以上前に支払われた分割払いの回数。\nnuminstpaidearly5d_1087L|期日の5日以上前に支払われた分割払いの回数。\nnuminstpaidearly5dest_4493211L|期日の5日以上前に支払われた分割払いの回数。\nnuminstpaidearly5dobd_4499205L|期日の5日以上前に支払われた分割払いの回数。\nnuminstpaidearlyest_4493214L|期日前に支払われた分割払いの回数。\nnuminstpaidlastcontr_4325080L|クライアントの最後の契約からの支払われた分割払いの回数。\nnuminstpaidlate1d_3546852L|期日の1日以上遅れて支払われた分割払いの回数。\nnuminstregularpaid_973L|クライアントの前回の契約で完全に支払われた定期的な分割払いの回数。\nnuminstregularpaidest_4493210L|クライアントの前回の契約で完全に支払われた定期的な分割払いの回数。\nnuminsttopaygr_769L|未払いの分割払いの回数。\nnuminsttopaygrest_4493213L|未払いの分割払いの回数。\nnuminstunpaidmax_3546851L|未払いの分割払いの最大数。\nnuminstunpaidmaxest_4493212L|未払いの分割払いの最大数。\nnumnotactivated_1143L|非活性化された信用の数。\nnumpmtchanneldd_318L|申請者の以前のローン契約で支払いチャネルとして直接引き落としがあった数。\nnumrejects9m_859L|過去9ヶ月間に拒否された信用申請の数。\nopencred_647L|前回の申請からのアクティブなローンの数。\nopeningdate_313D|預金口座の開設日。\nopeningdate_857D|デビットカードの開設日。\noutstandingamount_354A|信用局の終了した信用契約の未払い額。\noutstandingamount_362A|アクティブ契約の未払い額。\noutstandingdebt_522A|クライアントの前回の申請の未払い債務額。\noverdueamount_31A|終了した契約の延滞額。\noverdueamount_659A|アクティブ契約の延滞額。\noverdueamountmax_155A|アクティブ契約の最大延滞額。\noverdueamountmax_35A|終了した契約の最大延滞額。\noverdueamountmax_950A|アクティブ契約の最大延滞額。\noverdueamountmax2_14A|アクティブ契約の最大延滞額。\noverdueamountmax2_398A|終了した契約の最大延滞額。\noverdueamountmax2date_1002D|終了した契約の最大延滞額の日付\noverdueamountmax2date_1142D|アクティブ契約の最大延滞額の日付。\noverdueamountmaxdatemonth_284T|終了した契約で最大延滞額が発生した月。\noverdueamountmaxdatemonth_365T|アクティブ契約で最大延滞額が発生した月。\noverdueamountmaxdatemonth_494T|信用局のアクティブ契約で記録された最大延滞額の発生月。\noverdueamountmaxdateyear_2T|アクティブ契約で最大延滞額が発生した年。\noverdueamountmaxdateyear_432T|アクティブ契約で最大延滞額が発生した年。\noverdueamountmaxdateyear_994T|終了した契約で最大延滞額が発生した年。\npaytype_783L|支払いタイプ。\npaytype1st_925L|クライアントの最初の支払いタイプ。\npayvacationpostpone_4187118D|最後の支払い休暇分割払いの日付。\npctinstlsallpaidearl3d_427L|期日の3日前に少なくとも支払われた分割払いの割合。\npctinstlsallpaidlat10d_839L|期日の10日以上遅れて支払われた分割払いの割合。\npctinstlsallpaidlate1d_3546856L|期日の1日以上遅れて支払われた分割払いの割合。\npctinstlsallpaidlate4d_3546849L|期日の4日以上遅れて支払われた分割払いの割合。\npctinstlsallpaidlate6d_3546844L|期日の6日以上遅れて支払われた分割払いの割合。\nperiodicityofpmts_1102L|終了した契約の分割払いの頻度。\nperiodicityofpmts_837L|アクティブ契約の分割払いの頻度。\nperiodicityofpmts_997L|アクティブな信用契約の分割払いの頻度。\nperiodicityofpmts_997M|アクティブな信用契約の分割払いの頻度。\npersonindex_1023L|申請書に指定された個人の順序。\npersontype_1072L|個人タイプ。\npersontype_792L|個人タイプ。\npmtamount_36A|信用局支払いの税控除額。\npmtaverage_3A|税控除の平均。\npmtaverage_4527227A|税控除の平均。\npmtaverage_4955615A|税控除の平均。\npmtcount_4527229L|税控除の回数。\npmtcount_4955617L|税控除の回数。\npmtcount_693L|税控除の回数。\npmtdaysoverdue_1135P|信用局の既存契約の延滞日数。\npmtmethod_731M|信用局の既存契約の分割払い支払い方法。\npmtnum_254L|クライアントによって行われたローン支払いの総数。\npmtnum_8L|前回の申請での支払い回数。\npmtnumpending_403L|アクティブ契約の保留中の支払い数。\npmts_date_1107D|信用局によるアクティブ契約の支払い日（num_group1 - 契約、num_group2 - 支払い）。\npmts_dpd_1073P|アクティブ契約の支払いの延滞日数（num_group1 - 既存契約、num_group2 - 支払い）。\npmts_dpd_303P|信用局による終了した契約の支払いの延滞日数（num_group1 - 終了した契約、num_group2 - 支払い）。\npmts_dpdvalue_108P|アクティブ契約の未払い支払いの価値（num_group1 - 既存契約、num_group2 - 支払い）。\npmts_month_158T|終了した契約の支払い月（num_group1 - 既存契約、num_group2 - 支払い）。\npmts_month_706T|アクティブ契約の支払い月（num_group1 - 終了した契約、num_group2 - 支払い）。\npmts_overdue_1140A|アクティブ契約の未払い支払い（num_group1 - 既存契約、num_group2 - 支払い）。\npmts_overdue_1152A|終了した契約の未払い支払い（num_group1 - 終了した契約、num_group2 - 支払い）。\npmts_pmtsoverdue_635A|未払い支払いを持つアクティブ契約（num_group1 - 既存契約、num_group2 - 支払い）。\npmts_year_1139T|アクティブ契約の支払い年（num_group1 - 既存契約、num_group2 - 支払い）。\npmts_year_507T|終了した信用契約の支払い年（num_group1 - 終了した契約、num_group2 - 支払い）。\npmtscount_423L|税控除支払いの回数。\npmtssum_45A|クライアントの税控除の合計。\nposfpd10lastmonth_333P|前月に契約を処理した販売ポイントの平均FPD10（最初の分割払いが10日以上延滞した契約の割合）。\nposfpd30lastmonth_3976960P|前月に契約を処理した販売ポイントの平均FPD30（最初の分割払いが30日以上延滞した契約の割合）。\nposfstqpd30lastmonth_3976962P|前月に契約を処理した販売ポイントの平均FSTPD30（最初、第二、または第三の分割払いが30日以上延滞した契約の割合）。\npostype_4733339M|販売ポイントのタイプ。\npreviouscontdistrict_112M|クライアントの前回承認された申請の連絡先地区。\nprice_1097A|信用価格。\nprocessingdate_168D|税控除が処理される日付。\nprofession_152M|前回のローン申請中のクライアントの職業。\nprolongationcount_1120L|信用局による終了した契約の延長回数。\nprolongationcount_599L|アクティブ契約の延長回数。\npurposeofcred_426M|アクティブ契約の信用目的。\npurposeofcred_722M|アクティブ契約の信用目的。\npurposeofcred_874M|終了した契約の信用目的。\nrecorddate_4527225D|税控除記録日。\nrefreshdate_3813885D|信用局の公開ソースが最後に更新された日付。\nregistaddr_district_1083M|個人の登録済み住所の地区。\nregistaddr_zipcode_184M|個人の登録済み住所の郵便番号。\nrejectreason_755M|前回の申請拒否の理由。\nrejectreasonclient_4145042M|クライアントの前回の申請拒否の理由。\nrelatedpersons_role_762T|クライアントの関連する人物の関係タイプ（num_group1 - 人物、num_group2 - 関連する人物）。\nrelationshiptoclient_415T|クライアントとの関係。\nrelationshiptoclient_642T|クライアントとの関係。\nremitter_829L|クライアントが送金人であるかどうかを示すフラグ。\nrequesttype_4525192L|税務局の要求タイプ。\nresidualamount_1093A|終了した保証契約の残余額。\nresidualamount_127A|アクティブ保証契約の残余額。\nresidualamount_3940956A|アクティブ契約の残余額。\nresidualamount_488A|終了した契約の残余額。\nresidualamount_856A|アクティブ契約の残余額。\nresponsedate_1012D|税務局の応答日。\nresponsedate_4527233D|税務局の応答日。\nresponsedate_4917613D|税務局の応答日。\nrevolvingaccount_394A|申請者の前回の申請で存在したリボルビング口座。\nriskassesment_302T|クライアントが次の1年以内に信用債務を履行できなくなる可能性の推定確率。\nriskassesment_940T|クライアントの信用評価の推定。\nrole_1084L|連絡先役割のタイプ。\nrole_993L|個人の役割。\nsafeguarantyflag_411L|クライアントが追加のセーフガード保証を持つ柔軟な製品を使用しているかどうかを示すフラグ。\nscore_940|クライアントの信用評価の推定。\nsecondquarter_766L|第2四半期の結果の数。\nsellerplacecnt_915L|同じクライアントの書類を使用した販売場所の数。\nsellerplacescnt_216L|同じクライアントの携帯電話を使用した販売場所の数。\nsex_738L|クライアントの性別。\nstatus_219L|前回の申請状態。\nsubjectrole_182M|アクティブ信用契約の主題役割。\nsubjectrole_326M|アクティブ信用契約の主題役割。\nsubjectrole_43M|終了した信用契約の主題役割。\nsubjectrole_93M|終了した信用契約の主題役割。\nsubjectroles_name_541M|終了した信用契約の主題役割の名前（num_group1 - 終了した契約、num_group2 - 主題役割）。\nsubjectroles_name_838M|アクティブ信用契約の主題役割の名前（num_group1 - 既存契約、num_group2 - 主題役割）。\nsumoutstandtotal_3546847A|未払い総額の合計。\nsumoutstandtotalest_4493215A|未払い総額の合計。\ntenor_203L|前回の申請の分割払い数。\nthirdquarter_1082L|第3四半期の結果の数。\ntotalamount_503A|クライアントのアクティブな担保された信用の総額。\ntotalamount_6A|終了した契約の総額。\ntotalamount_881A|終了した契約からの担保された信用の総額。\ntotalamount_996A|信用局のアクティブ契約の総額。\ntotaldebt_9A|債務の総額。\ntotaldebtoverduevalue_178A|アクティブ契約の延滞債務の総額。\ntotaldebtoverduevalue_718A|終了した信用契約の延滞債務総額。\ntotaloutstanddebtvalue_39A|信用局のアクティブ契約の未払い債務の総額。\ntotaloutstanddebtvalue_668A|信用局の終了した契約の未払い債務の総額。\ntotalsettled_863A|クライアントによって支払われたすべての支払いの合計。\ntotinstallast1m_4525188A|前月に支払われた月々の分割払いの総額。\ntwobodfilling_608L|申請プロセスのタイプ。\ntype_25L|個人の連絡先タイプ。\ntypesuite_864L|ローン申請中にクライアントを伴う人物。\nvalidfrom_1069D|クライアントがアクティブなキャンペーンを持っている日付から。\n\n----","metadata":{}},{"cell_type":"markdown","source":"## データの読み込み\n\n----","metadata":{}},{"cell_type":"code","source":"# ファイルが含まれているディレクトリのパス\ndata_path = \"/kaggle/input/home-credit-credit-risk-model-stability/\"","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:32.234623Z","iopub.execute_input":"2024-02-11T06:57:32.235118Z","iopub.status.idle":"2024-02-11T06:57:32.245875Z","shell.execute_reply.started":"2024-02-11T06:57:32.235046Z","shell.execute_reply":"2024-02-11T06:57:32.244059Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# Base tablesの読み込み\n# ベーステーブルのcase_idは、他のテーブルをベーステーブルに結合する際に利用する\ntrain_basetable = pl.read_csv(data_path + \"csv_files/train/train_base.csv\")\ntrain_basetable","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:32.248693Z","iopub.execute_input":"2024-02-11T06:57:32.249094Z","iopub.status.idle":"2024-02-11T06:57:32.351794Z","shell.execute_reply.started":"2024-02-11T06:57:32.249060Z","shell.execute_reply":"2024-02-11T06:57:32.350320Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# ファイルの一覧を出力する\npprint.pprint(glob.glob(data_path + '/csv_files/train/*'))","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:32.353590Z","iopub.execute_input":"2024-02-11T06:57:32.353968Z","iopub.status.idle":"2024-02-11T06:57:32.361325Z","shell.execute_reply.started":"2024-02-11T06:57:32.353937Z","shell.execute_reply":"2024-02-11T06:57:32.359803Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## ファイルの種別\n\n----\n| ファイルの識別子       | Depth | データソース | 補足                             |\n|-----------------------|-------|-------------|----------------------------------|\n| train_static          | 0     | 内部        | ー                               |\n| train_static_cb       | 0     | 外部        | ー                               |\n| train_debitcard      | 1     | 内部        | デビットカードの所有枚数や利用金額など　|\n| train_deposit         | 1     | 内部        | ー                               |\n| train_other           | 1     | 内部        | ー                               |\n| train_person_1          | 1     | 内部        | ー                               |\n| train_tax_registry_a   | 1     | 外部        | 税務レジストリ プロバイダー A   |\n| train_tax_registry_b  | 1     | 外部        | 税務レジストリ プロバイダー B   |\n| train_tax_registry_c  | 1     | 外部        | 税務レジストリ プロバイダー C   |\n| train_person_2          | 2     | 内部        | ー                               |\n| train_applprev        | 2     | 内部        | ー                               |\n| train_credit_bureau_a | 2     | 外部        | 信用調査機関プロバイダー A       |\n| train_credit_bureau_b | 2     | 外部        | 信用調査機関プロバイダー B       |","metadata":{}},{"cell_type":"markdown","source":"### Depth0\n\n---","metadata":{}},{"cell_type":"markdown","source":"#### train_staticの内容を確認する","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_static_0_0.csv\")\ndf.head(10)","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:32.363883Z","iopub.execute_input":"2024-02-11T06:57:32.364196Z","iopub.status.idle":"2024-02-11T06:57:35.455123Z","shell.execute_reply.started":"2024-02-11T06:57:32.364168Z","shell.execute_reply":"2024-02-11T06:57:35.453744Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_static_0_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:35.456889Z","iopub.execute_input":"2024-02-11T06:57:35.457221Z","iopub.status.idle":"2024-02-11T06:57:37.913202Z","shell.execute_reply.started":"2024-02-11T06:57:35.457191Z","shell.execute_reply":"2024-02-11T06:57:37.912230Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_static_cbの中身を確認する","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_static_cb_0.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:37.914582Z","iopub.execute_input":"2024-02-11T06:57:37.915245Z","iopub.status.idle":"2024-02-11T06:57:39.414469Z","shell.execute_reply.started":"2024-02-11T06:57:37.915204Z","shell.execute_reply":"2024-02-11T06:57:39.413654Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"### Depth1\n\n---","metadata":{}},{"cell_type":"markdown","source":"#### train_debitcardの中身を確認する","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_debitcard_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:39.415580Z","iopub.execute_input":"2024-02-11T06:57:39.416657Z","iopub.status.idle":"2024-02-11T06:57:39.462353Z","shell.execute_reply.started":"2024-02-11T06:57:39.416622Z","shell.execute_reply":"2024-02-11T06:57:39.461518Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_deposit","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_deposit_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:39.463401Z","iopub.execute_input":"2024-02-11T06:57:39.463721Z","iopub.status.idle":"2024-02-11T06:57:39.517288Z","shell.execute_reply.started":"2024-02-11T06:57:39.463697Z","shell.execute_reply":"2024-02-11T06:57:39.516470Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_other","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_other_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:39.519954Z","iopub.execute_input":"2024-02-11T06:57:39.520785Z","iopub.status.idle":"2024-02-11T06:57:39.554751Z","shell.execute_reply.started":"2024-02-11T06:57:39.520729Z","shell.execute_reply":"2024-02-11T06:57:39.553539Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_person","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_person_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:39.556178Z","iopub.execute_input":"2024-02-11T06:57:39.556662Z","iopub.status.idle":"2024-02-11T06:57:42.549291Z","shell.execute_reply.started":"2024-02-11T06:57:39.556485Z","shell.execute_reply":"2024-02-11T06:57:42.548518Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_person_2.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:42.552344Z","iopub.execute_input":"2024-02-11T06:57:42.552608Z","iopub.status.idle":"2024-02-11T06:57:42.951129Z","shell.execute_reply.started":"2024-02-11T06:57:42.552586Z","shell.execute_reply":"2024-02-11T06:57:42.950416Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_tax_registry_a","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_tax_registry_a_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:42.952477Z","iopub.execute_input":"2024-02-11T06:57:42.953053Z","iopub.status.idle":"2024-02-11T06:57:43.443916Z","shell.execute_reply.started":"2024-02-11T06:57:42.953018Z","shell.execute_reply":"2024-02-11T06:57:43.443110Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_tax_registry_b","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_tax_registry_b_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:43.445037Z","iopub.execute_input":"2024-02-11T06:57:43.445549Z","iopub.status.idle":"2024-02-11T06:57:43.609305Z","shell.execute_reply.started":"2024-02-11T06:57:43.445524Z","shell.execute_reply":"2024-02-11T06:57:43.608351Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_tax_registry_c","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_tax_registry_c_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:43.612189Z","iopub.execute_input":"2024-02-11T06:57:43.613716Z","iopub.status.idle":"2024-02-11T06:57:44.174936Z","shell.execute_reply.started":"2024-02-11T06:57:43.613687Z","shell.execute_reply":"2024-02-11T06:57:44.173632Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"### DEPTH2\n\n---","metadata":{}},{"cell_type":"markdown","source":"#### train_applprev","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_applprev_1_0.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:44.176429Z","iopub.execute_input":"2024-02-11T06:57:44.177991Z","iopub.status.idle":"2024-02-11T06:57:48.598893Z","shell.execute_reply.started":"2024-02-11T06:57:44.177687Z","shell.execute_reply":"2024-02-11T06:57:48.597526Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_applprev_1_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:48.600805Z","iopub.execute_input":"2024-02-11T06:57:48.601530Z","iopub.status.idle":"2024-02-11T06:57:51.729635Z","shell.execute_reply.started":"2024-02-11T06:57:48.601503Z","shell.execute_reply":"2024-02-11T06:57:51.728598Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_applprev_2.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:51.731589Z","iopub.execute_input":"2024-02-11T06:57:51.732810Z","iopub.status.idle":"2024-02-11T06:57:53.810600Z","shell.execute_reply.started":"2024-02-11T06:57:51.732743Z","shell.execute_reply":"2024-02-11T06:57:53.809508Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_credit_bureau_aの内容を確認する（サンプルチェック）","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_credit_bureau_a_1_3.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:53.812268Z","iopub.execute_input":"2024-02-11T06:57:53.812665Z","iopub.status.idle":"2024-02-11T06:57:57.816652Z","shell.execute_reply.started":"2024-02-11T06:57:53.812629Z","shell.execute_reply":"2024-02-11T06:57:57.815271Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_credit_bureau_a_2_3.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:57:57.818853Z","iopub.execute_input":"2024-02-11T06:57:57.819952Z","iopub.status.idle":"2024-02-11T06:58:09.741638Z","shell.execute_reply.started":"2024-02-11T06:57:57.819902Z","shell.execute_reply":"2024-02-11T06:58:09.740245Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_credit_bureau_a_1_0.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:58:09.743299Z","iopub.execute_input":"2024-02-11T06:58:09.743612Z","iopub.status.idle":"2024-02-11T06:58:15.024609Z","shell.execute_reply.started":"2024-02-11T06:58:09.743579Z","shell.execute_reply":"2024-02-11T06:58:15.023568Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_credit_bureau_a_2_0.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:58:15.025941Z","iopub.execute_input":"2024-02-11T06:58:15.026930Z","iopub.status.idle":"2024-02-11T06:58:17.127570Z","shell.execute_reply.started":"2024-02-11T06:58:15.026892Z","shell.execute_reply":"2024-02-11T06:58:17.126625Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### train_credit_bureau_b","metadata":{}},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_credit_bureau_b_1.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:58:17.128798Z","iopub.execute_input":"2024-02-11T06:58:17.129108Z","iopub.status.idle":"2024-02-11T06:58:17.295671Z","shell.execute_reply.started":"2024-02-11T06:58:17.129078Z","shell.execute_reply":"2024-02-11T06:58:17.294156Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pl.read_csv(data_path + \"csv_files/train/train_credit_bureau_b_2.csv\")\ndf","metadata":{"execution":{"iopub.status.busy":"2024-02-11T06:58:17.299739Z","iopub.execute_input":"2024-02-11T06:58:17.301184Z","iopub.status.idle":"2024-02-11T06:58:17.491156Z","shell.execute_reply.started":"2024-02-11T06:58:17.301125Z","shell.execute_reply":"2024-02-11T06:58:17.489277Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}