<jupyter_start><jupyter_text>Reference: Cutting the Extra Date in 'GS' and 'DIA'<jupyter_code># Let's take a look at GS and DIA.

display(historicals['GS'])
display(historicals['DIA'])
# We can see that they just have a top Nan row, let's use drop.na() on them in order for them to fit our chosen standard length.

historicals['GS'] = historicals['GS'].dropna()
historicals['DIA'] = historicals['DIA'].dropna()
# Double check it worked.

print(f"GS Check {full_date_range.difference(historicals['GS'].index}")
print(f"DIA Check {full_date_range.difference(historicals['DIA'].index)}")
display(historicals['GS'])
# Since there was no difference in the dates index, then GS and DIA are now the standard size of our Yahoo Finance Data.
# Because you are reducing the array shape and not extending it you will have to delete your GS and DIA hdf5 files and upload the updated data.<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup