You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to make sure that you all were aware of this when you recombine the files once they're loaded into data frames. This is the code I used to fix that when I loaded the data in:
hpgres1=pd.read_csv('hpg_reserve_1.csv')
hpgres2=pd.read_csv('hpg_reserve_2.csv')
# The hpg_reserve.csv file got split mid-line, this fixes that linehpgres1.iloc[-1,0] +=hpgres2.iloc[0,0]
hpgres1.iloc[-1,1:] =hpgres2.iloc[0,1:]
# Throwing all the hpg_reserve data into a single dataframehpgres=pd.concat([hpgres1, hpgres2.iloc[1:,:]], ignore_index=True)
The text was updated successfully, but these errors were encountered:
I just wanted to make sure that you all were aware of this when you recombine the files once they're loaded into data frames. This is the code I used to fix that when I loaded the data in:
The text was updated successfully, but these errors were encountered: