Data science help app with only streamlit

import streamlit as st
import pandas as pd
import matplotlib as plt
import numpy

st.title('Need help with data Science?')

file_ = open('Most Popular Websites 1996 - 2019.mp4', 'rb').read()
st.text('This is what data can do.')

name_list = {}
status ='What is your status?', ('Active', 'Inactive'))
if status == 'Active':
    st.success('That\'s great! These are the tools'
               ' we use or you can call it a '
               'data scientist\'s tech stack. There you go...')

elif status == 'Inactive':

    # dict
    number_months = st.number_input('Years inactive')
    name = st.text_input('Name')
    occupation = st.text_input('Current occupation')
    one = name.capitalize()
    two = occupation.capitalize()
    # dict over

    if name != '':
        st.success(f'Hi {name.capitalize()}! Here we will make sure you'
                   f' get what you\'re looking for.'
                   ' But just to be clear, we are strictly talking about data science. In other as'
                   'pects you can help yourself. Wink wink!')
        desired_occ = st.selectbox('What would you want to be?',
                                   ['Data Scientist', 'Data Analyst', 'Data collector', 'Business analyst'])
        location = st.selectbox('Choose locations:', ['Pune', 'Mumbai', 'Delhi', 'Chennai'])

        #dict update with new inputs
            {'Name': one, 'Current occupation': two, 'Wants to be': desired_occ, 'Desired location': location})

        st.write('You selected ', len(location), ' locations.')
        slide = st.slider('Level', 1, 5)

        if slide > 2:
            st.success('Amazing, there you go...')
            st.warning('You need to improve your skills, i mean, c\'mon...')

    elif name == '':
        st.warning('Enter your name or we won\'t be able to help you.')
1 Like

Welcome to the community @Astroficboy !

Thanks for the code! It has a number of Python logic and Streamlit features that could benefit other users.

I think your post could benefit from a GIF (I recently discovered ScreenToGif but you can also record a screencast directly from the hamburger menu of Streamlit) and a high-level description of the goal your app tries to achieve so people try it on their side.