Skip to main content

DAV practicals package with all code files and datasets

Project description

📊 Data Analytics Practical README (Python + R)

This guide helps you quickly understand:

  • How to use R and Python
  • How to install libraries
  • Which libraries are required
  • What to replace in code during exam

🐍 Python Setup

✅ Install Libraries

Run in terminal:

pip install pandas numpy matplotlib seaborn scikit-learn statsmodels textblob wordcloud

📦 Python Libraries Used

Purpose Library
Data handling pandas
Numerical operations numpy
Visualization matplotlib, seaborn
ML models scikit-learn
Time series statsmodels
Text analysis textblob
Word cloud wordcloud

📈 Running Python Code

  • Use VS Code / Jupyter Notebook
  • Run using ▶️ or python file.py

🟦 R Setup

✅ Install R

Download from: https://cran.r-project.org/

✅ Install Libraries

Run in R console:

install.packages("ggplot2")
install.packages("dplyr")
install.packages("wordcloud")
install.packages("e1071")
install.packages("syuzhet")
install.packages("tm")

📦 R Libraries Used

Purpose Library
Visualization ggplot2
Data manipulation dplyr
Text mining tm
Spam filter e1071
Sentiment syuzhet
Word cloud wordcloud

▶️ Running R Code

Option 1: VS Code

  • Install "R" extension
  • Press Ctrl + Enter

Option 2: RStudio (Recommended)

  • Open RStudio
  • Run code directly

🔁 IMPORTANT: What to Replace in Codes

📊 Dataset Columns

Placeholder Replace With
data.csv Your dataset file
df / data Keep same
x Independent / input column
y Dependent / numeric column
value Main numeric column
date Date/time column
text Text column
label Output column (spam/ham, sentiment)

🧠 How to Identify Columns

✔ Independent (X)

  • Input features
  • Example: age, salary, experience

✔ Dependent (y)

  • Output to predict
  • Example: price, result, spam/ham

⚡ Quick Tricks During Exam

Python

print(df.columns)

R

colnames(data)

📌 Topic-wise Replacement Guide

🔹 Regression

  • X → input columns
  • y → output column

🔹 Time Series

  • date → time column
  • value → numeric column

🔹 Text Analytics

  • text → text column
  • label → spam/ham or sentiment

🔹 Visualization

  • x → category column
  • y → numeric column

✅ Final Exam Strategy

  1. Load dataset
  2. Identify columns using head() or columns
  3. Replace placeholders
  4. Run code

🚀 Final Tip

👉 Always keep code simple 👉 Don’t overthink dataset 👉 Replace column names correctly 👉 Write clean output


You are now ready for your practical exam ✅🔥

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dav_pracs-1.0.2.tar.gz (24.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dav_pracs-1.0.2-py3-none-any.whl (25.4 MB view details)

Uploaded Python 3

File details

Details for the file dav_pracs-1.0.2.tar.gz.

File metadata

  • Download URL: dav_pracs-1.0.2.tar.gz
  • Upload date:
  • Size: 24.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for dav_pracs-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d02313a12875d5e478e78a5fd5f1c97f1b18164280d09f0b80e028a4ff7cfb4d
MD5 84a165efc04927da5cfc95e24e27eeb5
BLAKE2b-256 74a9f6b5548d69d5e69375eeb00920a9eca81f08e1252d1fc5c6e7e39ccf7c3f

See more details on using hashes here.

File details

Details for the file dav_pracs-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: dav_pracs-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for dav_pracs-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 56e1fd6e929e83b1942d7f9d1adcd0f7085910cc3bc9296c2a0215aef02939e9
MD5 530637ff384f07fae535743320b49173
BLAKE2b-256 777bdcc87b0a8d4c8bbb9aedd58a2077e95283009f6017a8192114884c1d5adb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page