James McCool commited on
Commit
c676261
·
1 Parent(s): 82ea96b
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -1618,7 +1618,6 @@ if selected_tab == 'Data Load':
1618
  if projections is not None:
1619
  st.success('Projections file loaded successfully!')
1620
 
1621
- # Optimize projections data types early
1622
  try:
1623
  projections['salary'] = projections['salary'].str.replace(',', '').str.replace('$', '').str.replace(' ', '')
1624
  st.write('replaced salary symbols')
@@ -1630,7 +1629,6 @@ if selected_tab == 'Data Load':
1630
  except:
1631
  pass
1632
 
1633
- # Convert to efficient data types
1634
  projections['salary'] = projections['salary'].dropna().astype('int32')
1635
  projections['ownership'] = projections['ownership'].astype('float32')
1636
 
 
1618
  if projections is not None:
1619
  st.success('Projections file loaded successfully!')
1620
 
 
1621
  try:
1622
  projections['salary'] = projections['salary'].str.replace(',', '').str.replace('$', '').str.replace(' ', '')
1623
  st.write('replaced salary symbols')
 
1629
  except:
1630
  pass
1631
 
 
1632
  projections['salary'] = projections['salary'].dropna().astype('int32')
1633
  projections['ownership'] = projections['ownership'].astype('float32')
1634