Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files5 unmodified lines6789101126 unmodified lines38394041424355 unmodified lines9910010110210310410510610710810911011111211311411511626 unmodified lines1431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731745 unmodified linespage_icon="🚀",layout="wide")# Global CSS for consistent styling across all pagesst.markdown("""<style>26 unmodified lines""",unsafe_allow_html=True)# Page Titlest.markdown("""<div style="text-align: left; margin-top: 20px;">55 unmodified lines"Gender": ["Female", "Female", "Male", "Female"]}df = pd.DataFrame(student_data)st.dataframe(df)# Data Formats in Structured Datast.write("""**Data Formats in Structured Data:**- **Excel**: Widely used for tabular data, calculations, and data visualization.""")# Button to Explore Excelif st.button("Explore Excel"):st.write("Redirecting to Excel page...")# Add functionality to redirect or display additional details here# Unstructured Data Sectionelif data_type == "Unstructured Data":26 unmodified lines- **Text**: Emails, social media posts, and blog articles.""")# Data Formats in Unstructured Datast.write("""**Data Formats in Unstructured Data:**- **Images**: Formats like JPEG, PNG, BMP, and TIFF.- **Audio**: Formats like MP3, WAV, and FLAC.- **Videos**: Formats like MP4, AVI, and MKV.- **Text**: Formats like TXT, LOG, and DOCX.""")# Explore Formatsif st.button("Explore Unstructured Data"):st.write("Select a format to explore:")col1, col2, col3, col4 = st.columns(4)with col1:if st.button("Images"):st.write("Images are often used in computer vision tasks. Common formats: JPEG, PNG.")with col2:if st.button("Audio"):st.write("Audio files represent sound data. Common formats: MP3, WAV.")with col3:if st.button("Video"):st.write("Video files combine visual and audio data. Common formats: MP4, AVI.")with col4:if st.button("Text"):st.write("Text data includes raw documents like emails or logs. Common formats: TXT, DOCX.")5 unmodified lines678910111226 unmodified lines3940414243444555 unmodified lines10110210310410510610710810911011111211311411511611711811912012112212312412512626 unmodified lines1531541551561571581591601611621631641651661671681691701715 unmodified linespage_icon="🚀",layout="wide")# Global CSS for consistent styling across all pagesst.markdown("""<style>26 unmodified lines""",unsafe_allow_html=True)# Page Titlest.markdown("""<div style="text-align: left; margin-top: 20px;">55 unmodified lines"Gender": ["Female", "Female", "Male", "Female"]}df = pd.DataFrame(student_data)st.markdown(df.style.set_table_styles([{'selector': 'thead th','props': 'font-weight: bold;'}]).hide(axis="index").to_html(), unsafe_allow_html=True)st.markdown("""<div style="text-align: left; margin-top: 20px;"><h4 style="color: #5b2c6f;">Data Formats in Structured Data:</h4></div>""", unsafe_allow_html=True)st.write("""**Data Formats:**- **Excel**: Widely used for tabular data, calculations, and data visualization.""")if st.button("Explore Excel"):st.write("You clicked the Excel button!")# Unstructured Data Sectionelif data_type == "Unstructured Data":26 unmodified lines- **Text**: Emails, social media posts, and blog articles.""")st.markdown("""<div style="text-align: left; margin-top: 20px;"><h4 style="color: #5b2c6f;">Data Formats in Unstructured Data:</h4></div>""", unsafe_allow_html=True)st.write("""**Data Formats:**- **Images**: Formats like JPEG, PNG, BMP, and TIFF.- **Audio**: Formats like MP3, WAV, and FLAC.- **Videos**: Formats like MP4, AVI, and MKV.- **Text**: Formats like TXT, LOG, and DOCX.""")if st.button("Explore Unstructured Data"):st.write("You clicked the Unstructured Data button!")
pages/Data Collection.py+24-27