Spaces:
Sleeping
Sleeping
import streamlit as st | |
# Page Title | |
import streamlit as st | |
import pandas as pd | |
# Title and Introductionz | |
st.title(" Welcome to Cricket Insights 🏏") | |
st.markdown("<h4>What is cricket🏏</h4>",unsafe_allow_html=True) | |
st.write(""" | |
Cricket is a bat-and-ball game played between two teams of eleven players on a field, at the center of which is a 22-yard (20-meter) pitch with a wicket at each end. The game involves a complex set of rules, strategies, and traditions. | |
""") | |
# Key Elements | |
st.header("Key Elements of Cricket") | |
st.write(""" | |
* **Batting:** The batting team aims to score runs by hitting the ball bowled by the opposing team. | |
* **Bowling:** The bowling team aims to dismiss the batsmen by bowling the ball in a way that hits the wicket or is caught. | |
* **Fielding:** The fielding team aims to prevent runs and dismiss the batsmen. | |
""") | |
# Types of Cricket | |
st.header("Types of Cricket") | |
st.write(""" | |
1. **Test Cricket:** The traditional format, played over five days. It's known for its intense, long-form matches. | |
2. **One Day International (ODI):** A shorter format, played over one day. Each team bats for a maximum of 50 overs. | |
3. **Twenty20 (T20):** The shortest format, played over 20 overs per side. It's characterized by explosive batting and bowling. | |
4. **First-Class Cricket:** A general term for longer-format cricket matches, including Test matches and county cricket. | |
""") | |
# Popularity | |
st.header("Popularity of Cricket") | |
st.write(""" | |
Cricket is immensely popular in countries like India, Pakistan, England, Australia, South Africa, and the West Indies. It's often referred to as a religion in many parts of the world. | |
""") | |
# About This Page Section | |
st.markdown("## About This Page") | |
st.markdown(""" | |
This page is dedicated to cricket enthusiasts who want to explore the game in depth. | |
Here, you will find detailed information about players, their careers, and insightful analysis of their performances. | |
Whether you're a casual fan or a statistician, this platform is your gateway to understanding the game better. | |
""") | |
# About the Author Section | |
st.markdown("## About the Author") | |
st.markdown(""" | |
Hello! I am a statistics and data science enthusiast with a passion for cricket. | |
I specialize in analyzing cricket data to uncover unique insights about players and matches. | |
Beyond cricket, I enjoy exploring nature, traveling to scenic destinations, and spending time with my loved ones. | |
I bring a data-driven approach to cricket analysis, helping fans and analysts gain a deeper understanding of the sport. | |
""") |