text_plain_output_100.png text_plain_output_334.png application_vnd.jupyter.stderr_output_145.png application_vnd.jupyter.stderr_output_289.png application_vnd.jupyter.stderr_output_313.png application_vnd.jupyter.stderr_output_373.png text_plain_output_84.png text_plain_output_322.png application_vnd.jupyter.stderr_output_27.png application_vnd.jupyter.stderr_output_115.png application_vnd.jupyter.stderr_output_207.png application_vnd.jupyter.stderr_output_341.png text_plain_output_56.png text_plain_output_158.png text_plain_output_218.png text_plain_output_264.png application_vnd.jupyter.stderr_output_35.png text_plain_output_282.png text_plain_output_396.png text_plain_output_232.png text_plain_output_362.png application_vnd.jupyter.stderr_output_77.png text_plain_output_258.png application_vnd.jupyter.stderr_output_417.png text_plain_output_452.png text_plain_output_130.png application_vnd.jupyter.stderr_output_461.png application_vnd.jupyter.stderr_output_205.png application_vnd.jupyter.stderr_output_203.png text_plain_output_462.png text_plain_output_286.png application_vnd.jupyter.stderr_output_185.png application_vnd.jupyter.stderr_output_227.png text_plain_output_262.png application_vnd.jupyter.stderr_output_287.png application_vnd.jupyter.stderr_output_9.png text_plain_output_278.png text_plain_output_254.png application_vnd.jupyter.stderr_output_335.png application_vnd.jupyter.stderr_output_215.png application_vnd.jupyter.stderr_output_283.png application_vnd.jupyter.stderr_output_449.png text_plain_output_98.png text_plain_output_236.png application_vnd.jupyter.stderr_output_223.png application_vnd.jupyter.stderr_output_435.png application_vnd.jupyter.stderr_output_219.png application_vnd.jupyter.stderr_output_279.png application_vnd.jupyter.stderr_output_81.png application_vnd.jupyter.stderr_output_111.png text_plain_output_420.png application_vnd.jupyter.stderr_output_53.png application_vnd.jupyter.stderr_output_131.png application_vnd.jupyter.stderr_output_437.png text_plain_output_284.png text_plain_output_78.png application_vnd.jupyter.stderr_output_99.png text_plain_output_106.png text_plain_output_138.png application_vnd.jupyter.stderr_output_385.png text_plain_output_192.png text_plain_output_426.png application_vnd.jupyter.stderr_output_183.png application_vnd.jupyter.stderr_output_181.png application_vnd.jupyter.stderr_output_299.png application_vnd.jupyter.stderr_output_141.png text_plain_output_184.png text_plain_output_274.png text_plain_output_172.png application_vnd.jupyter.stderr_output_297.png application_vnd.jupyter.stderr_output_93.png text_plain_output_332.png text_plain_output_256.png text_plain_output_90.png application_vnd.jupyter.stderr_output_471.png application_vnd.jupyter.stderr_output_123.png application_vnd.jupyter.stderr_output_465.png text_plain_output_48.png text_plain_output_388.png application_vnd.jupyter.stderr_output_391.png text_plain_output_422.png text_plain_output_116.png text_plain_output_128.png text_plain_output_30.png text_plain_output_126.png application_vnd.jupyter.stderr_output_355.png application_vnd.jupyter.stderr_output_421.png application_vnd.jupyter.stderr_output_431.png text_plain_output_272.png application_vnd.jupyter.stderr_output_73.png application_vnd.jupyter.stderr_output_137.png application_vnd.jupyter.stderr_output_133.png application_vnd.jupyter.stderr_output_165.png application_vnd.jupyter.stderr_output_381.png application_vnd.jupyter.stderr_output_75.png text_plain_output_316.png application_vnd.jupyter.stderr_output_365.png text_plain_output_390.png text_plain_output_198.png application_vnd.jupyter.stderr_output_321.png application_vnd.jupyter.stderr_output_7.png application_vnd.jupyter.stderr_output_467.png application_vnd.jupyter.stderr_output_407.png text_plain_output_178.png text_plain_output_226.png text_plain_output_154.png text_plain_output_234.png text_plain_output_404.png text_plain_output_114.png application_vnd.jupyter.stderr_output_447.png application_vnd.jupyter.stderr_output_11.png application_vnd.jupyter.stderr_output_361.png application_vnd.jupyter.stderr_output_155.png text_plain_output_470.png text_plain_output_70.png text_plain_output_44.png application_vnd.jupyter.stderr_output_423.png application_vnd.jupyter.stderr_output_277.png application_vnd.jupyter.stderr_output_291.png application_vnd.jupyter.stderr_output_231.png application_vnd.jupyter.stderr_output_317.png application_vnd.jupyter.stderr_output_65.png application_vnd.jupyter.stderr_output_443.png application_vnd.jupyter.stderr_output_235.png text_plain_output_86.png text_plain_output_244.png text_plain_output_118.png application_vnd.jupyter.stderr_output_453.png application_vnd.jupyter.stderr_output_179.png application_vnd.jupyter.stderr_output_143.png application_vnd.jupyter.stderr_output_409.png text_plain_output_40.png text_plain_output_74.png application_vnd.jupyter.stderr_output_171.png text_plain_output_190.png text_plain_output_302.png text_plain_output_340.png application_vnd.jupyter.stderr_output_351.png application_vnd.jupyter.stderr_output_105.png text_plain_output_20.png application_vnd.jupyter.stderr_output_275.png application_vnd.jupyter.stderr_output_345.png text_plain_output_102.png application_vnd.jupyter.stderr_output_439.png text_plain_output_414.png application_vnd.jupyter.stderr_output_371.png text_plain_output_222.png application_vnd.jupyter.stderr_output_253.png text_plain_output_144.png application_vnd.jupyter.stderr_output_389.png application_vnd.jupyter.stderr_output_323.png application_vnd.jupyter.stderr_output_387.png text_plain_output_132.png text_plain_output_60.png application_vnd.jupyter.stderr_output_393.png application_vnd.jupyter.stderr_output_31.png application_vnd.jupyter.stderr_output_125.png text_plain_output_330.png text_plain_output_434.png application_vnd.jupyter.stderr_output_113.png text_plain_output_68.png text_plain_output_4.png text_plain_output_64.png application_vnd.jupyter.stderr_output_221.png application_vnd.jupyter.stderr_output_305.png text_plain_output_200.png application_vnd.jupyter.stderr_output_383.png application_vnd.jupyter.stderr_output_33.png text_plain_output_398.png text_plain_output_312.png text_plain_output_248.png application_vnd.jupyter.stderr_output_245.png text_plain_output_318.png application_vnd.jupyter.stderr_output_25.png text_plain_output_52.png application_vnd.jupyter.stderr_output_419.png text_plain_output_66.png text_plain_output_446.png application_vnd.jupyter.stderr_output_403.png application_vnd.jupyter.stderr_output_249.png application_vnd.jupyter.stderr_output_229.png application_vnd.jupyter.stderr_output_263.png text_plain_output_380.png text_plain_output_442.png application_vnd.jupyter.stderr_output_273.png application_vnd.jupyter.stderr_output_135.png text_plain_output_300.png application_vnd.jupyter.stderr_output_211.png application_vnd.jupyter.stderr_output_463.png application_vnd.jupyter.stderr_output_285.png application_vnd.jupyter.stderr_output_177.png text_plain_output_14.png text_plain_output_32.png text_plain_output_304.png text_plain_output_88.png text_plain_output_240.png application_vnd.jupyter.stderr_output_89.png text_plain_output_140.png application_vnd.jupyter.stderr_output_269.png text_plain_output_376.png text_plain_output_280.png text_plain_output_242.png text_plain_output_460.png application_vnd.jupyter.stderr_output_189.png text_plain_output_160.png text_plain_output_58.png application_vnd.jupyter.stderr_output_149.png application_vnd.jupyter.stderr_output_91.png application_vnd.jupyter.stderr_output_239.png text_plain_output_260.png application_vnd.jupyter.stderr_output_95.png text_plain_output_294.png text_plain_output_392.png text_plain_output_320.png application_vnd.jupyter.stderr_output_67.png application_vnd.jupyter.stderr_output_237.png application_vnd.jupyter.stderr_output_339.png text_plain_output_386.png text_plain_output_438.png text_plain_output_76.png text_plain_output_108.png application_vnd.jupyter.stderr_output_337.png text_plain_output_54.png text_plain_output_142.png text_plain_output_10.png text_plain_output_276.png text_plain_output_6.png application_vnd.jupyter.stderr_output_71.png text_plain_output_326.png application_vnd.jupyter.stderr_output_259.png text_plain_output_170.png text_plain_output_92.png text_plain_output_120.png application_vnd.jupyter.stderr_output_293.png text_plain_output_24.png application_vnd.jupyter.stderr_output_257.png application_vnd.jupyter.stderr_output_23.png application_vnd.jupyter.stderr_output_159.png text_plain_output_344.png application_vnd.jupyter.stderr_output_325.png application_vnd.jupyter.stderr_output_247.png text_plain_output_104.png text_plain_output_270.png text_plain_output_466.png application_vnd.jupyter.stderr_output_59.png text_plain_output_134.png text_plain_output_288.png application_vnd.jupyter.stderr_output_197.png application_vnd.jupyter.stderr_output_369.png application_vnd.jupyter.stderr_output_459.png text_plain_output_18.png text_plain_output_266.png text_plain_output_208.png text_plain_output_50.png text_plain_output_36.png application_vnd.jupyter.stderr_output_441.png application_vnd.jupyter.stderr_output_83.png text_plain_output_96.png application_vnd.jupyter.stderr_output_19.png text_plain_output_418.png text_plain_output_180.png text_plain_output_210.png text_plain_output_112.png application_vnd.jupyter.stderr_output_281.png text_plain_output_152.png application_vnd.jupyter.stderr_output_13.png application_vnd.jupyter.stderr_output_127.png application_vnd.jupyter.stderr_output_3.png text_plain_output_290.png application_vnd.jupyter.stderr_output_195.png application_vnd.jupyter.stderr_output_331.png text_plain_output_324.png text_plain_output_22.png text_plain_output_188.png text_plain_output_366.png application_vnd.jupyter.stderr_output_327.png application_vnd.jupyter.stderr_output_5.png application_vnd.jupyter.stderr_output_261.png text_plain_output_328.png application_vnd.jupyter.stderr_output_301.png text_plain_output_368.png application_vnd.jupyter.stderr_output_347.png text_plain_output_372.png application_vnd.jupyter.stderr_output_411.png text_plain_output_146.png text_plain_output_454.png application_vnd.jupyter.stderr_output_241.png application_vnd.jupyter.stderr_output_405.png application_vnd.jupyter.stderr_output_163.png text_plain_output_338.png application_vnd.jupyter.stderr_output_151.png application_vnd.jupyter.stderr_output_103.png application_vnd.jupyter.stderr_output_109.png text_plain_output_382.png text_plain_output_38.png application_vnd.jupyter.stderr_output_367.png text_plain_output_214.png text_plain_output_166.png text_plain_output_358.png application_vnd.jupyter.stderr_output_97.png application_vnd.jupyter.stderr_output_395.png text_plain_output_314.png text_plain_output_410.png text_plain_output_432.png application_vnd.jupyter.stderr_output_201.png application_vnd.jupyter.stderr_output_307.png text_plain_output_308.png text_plain_output_16.png text_plain_output_174.png text_plain_output_212.png text_plain_output_230.png application_vnd.jupyter.stderr_output_15.png text_plain_output_430.png text_plain_output_378.png text_plain_output_206.png text_plain_output_8.png text_plain_output_122.png application_vnd.jupyter.stderr_output_193.png text_plain_output_384.png application_vnd.jupyter.stderr_output_17.png application_vnd.jupyter.stderr_output_87.png text_plain_output_182.png text_plain_output_26.png application_vnd.jupyter.stderr_output_187.png text_plain_output_406.png application_vnd.jupyter.stderr_output_445.png text_plain_output_310.png text_plain_output_456.png application_vnd.jupyter.stderr_output_455.png application_vnd.jupyter.stderr_output_469.png text_plain_output_220.png application_vnd.jupyter.stderr_output_117.png application_vnd.jupyter.stderr_output_413.png text_plain_output_238.png application_vnd.jupyter.stderr_output_401.png text_plain_output_34.png text_plain_output_346.png text_plain_output_168.png application_vnd.jupyter.stderr_output_69.png text_plain_output_394.png text_plain_output_204.png text_plain_output_350.png application_vnd.jupyter.stderr_output_41.png application_vnd.jupyter.stderr_output_157.png text_plain_output_42.png text_plain_output_110.png text_plain_output_468.png text_plain_output_370.png application_vnd.jupyter.stderr_output_377.png text_plain_output_224.png application_vnd.jupyter.stderr_output_167.png application_vnd.jupyter.stderr_output_79.png application_vnd.jupyter.stderr_output_49.png application_vnd.jupyter.stderr_output_333.png application_vnd.jupyter.stderr_output_63.png application_vnd.jupyter.stderr_output_47.png application_vnd.jupyter.stderr_output_57.png application_vnd.jupyter.stderr_output_363.png application_vnd.jupyter.stderr_output_169.png text_plain_output_450.png text_plain_output_252.png application_vnd.jupyter.stderr_output_415.png application_vnd.jupyter.stderr_output_343.png text_plain_output_296.png text_plain_output_28.png text_plain_output_72.png application_vnd.jupyter.stderr_output_173.png application_vnd.jupyter.stderr_output_319.png application_vnd.jupyter.stderr_output_191.png application_vnd.jupyter.stderr_output_399.png text_plain_output_162.png text_plain_output_136.png text_plain_output_246.png text_plain_output_2.png application_vnd.jupyter.stderr_output_433.png application_vnd.jupyter.stderr_output_213.png application_vnd.jupyter.stderr_output_349.png application_vnd.jupyter.stderr_output_397.png application_vnd.jupyter.stderr_output_429.png text_plain_output_196.png text_plain_output_342.png application_vnd.jupyter.stderr_output_295.png application_vnd.jupyter.stderr_output_29.png application_vnd.jupyter.stderr_output_101.png application_vnd.jupyter.stderr_output_359.png application_vnd.jupyter.stderr_output_267.png application_vnd.jupyter.stderr_output_225.png application_vnd.jupyter.stderr_output_209.png application_vnd.jupyter.stderr_output_139.png text_plain_output_150.png application_vnd.jupyter.stderr_output_1.png text_plain_output_176.png application_vnd.jupyter.stderr_output_217.png application_vnd.jupyter.stderr_output_61.png text_plain_output_186.png application_vnd.jupyter.stderr_output_51.png application_vnd.jupyter.stderr_output_311.png text_plain_output_228.png text_plain_output_412.png application_vnd.jupyter.stderr_output_353.png text_plain_output_268.png text_plain_output_436.png text_plain_output_354.png text_plain_output_360.png text_plain_output_82.png text_plain_output_356.png text_plain_output_202.png application_vnd.jupyter.stderr_output_161.png application_vnd.jupyter.stderr_output_379.png text_plain_output_336.png application_vnd.jupyter.stderr_output_427.png text_plain_output_80.png text_plain_output_94.png text_plain_output_164.png application_vnd.jupyter.stderr_output_233.png text_plain_output_444.png application_vnd.jupyter.stderr_output_153.png text_plain_output_216.png text_plain_output_124.png application_vnd.jupyter.stderr_output_45.png text_plain_output_148.png text_plain_output_402.png text_plain_output_424.png text_plain_output_250.png application_vnd.jupyter.stderr_output_425.png application_vnd.jupyter.stderr_output_175.png text_plain_output_400.png application_vnd.jupyter.stderr_output_457.png text_plain_output_12.png application_vnd.jupyter.stderr_output_39.png text_plain_output_408.png application_vnd.jupyter.stderr_output_119.png application_vnd.jupyter.stderr_output_309.png application_vnd.jupyter.stderr_output_107.png text_plain_output_428.png application_vnd.jupyter.stderr_output_255.png application_vnd.jupyter.stderr_output_21.png application_vnd.jupyter.stderr_output_43.png application_vnd.jupyter.stderr_output_357.png text_plain_output_416.png application_vnd.jupyter.stderr_output_265.png text_plain_output_194.png application_vnd.jupyter.stderr_output_85.png text_plain_output_62.png text_plain_output_440.png text_plain_output_458.png application_vnd.jupyter.stderr_output_271.png application_vnd.jupyter.stderr_output_55.png text_plain_output_464.png application_vnd.jupyter.stderr_output_303.png text_plain_output_156.png application_vnd.jupyter.stderr_output_147.png application_vnd.jupyter.stderr_output_375.png text_plain_output_298.png application_vnd.jupyter.stderr_output_121.png text_plain_output_348.png application_vnd.jupyter.stderr_output_451.png text_plain_output_448.png text_plain_output_364.png application_vnd.jupyter.stderr_output_329.png application_vnd.jupyter.stderr_output_243.png text_plain_output_352.png application_vnd.jupyter.stderr_output_199.png text_plain_output_374.png text_plain_output_472.png application_vnd.jupyter.stderr_output_129.png application_vnd.jupyter.stderr_output_251.png text_plain_output_292.png application_vnd.jupyter.stderr_output_315.png application_vnd.jupyter.stderr_output_37.png text_plain_output_306.png text_plain_output_46.png
import pandas as pd

import seaborn as sns

target = 'yield'
df1 = pd.read_csv(TRAIN_CSV)
df1.rename({'Id': 'id'}, axis=1, inplace=True)
df1['test'] = 0
df1['gen'] = 1
df2 = pd.read_csv(TEST_CSV)
df2.rename({'Id': 'id'}, axis=1, inplace=True)
df2['test'] = 1
df2['gen'] = 1
df3 = pd.read_csv(EXTERNAL_CSV)
df3.rename({'Row#': 'id'}, axis=1, inplace=True)
df3['test'] = 0
df3['gen'] = 0
df = pd.concat([df1, df2, df3])
df.id.fillna(-1, inplace=True)
df.id = df.id.astype(int)
df.reset_index(inplace=True)
df.drop('index', axis=1, inplace=True)

sns.histplot(data=df, x=target, stat='density', color='b')