Maharaja Bir Bikram University Students: Setting Up a Free Data Science Workspace From Scratch

Maharaja Bir Bikram University Students: Setting Up a Free Data Science Workspace From Scratch

Facebook
Twitter
LinkedIn
WhatsApp
Email

You can build a complete, free data science workspace in about two hours using Python, Jupyter or Google Colab, Git and a free GitHub account, even on a low-spec laptop or only a phone and a shared computer. The parts that matter most are a consistent folder structure, a pinned list of packages and a backup routine you actually follow. This guide walks through each step, ends with a troubleshooting table, and fits into a 14-day learning plan.

What a free data science workspace needs: the five pieces

Before installing anything, know what you are building. A workable setup has five parts, and each has a free option:

  • A Python environment: either local (Python 3.10 or later, or Miniconda) or cloud-based.
  • A notebook interface: Jupyter Notebook/JupyterLab locally, or Google Colab or Kaggle Notebooks in the browser.
  • Core libraries: pandas, NumPy, matplotlib, scikit-learn, and optionally seaborn.
  • Version control: Git on your machine and a GitHub account to hold your work online.
  • A storage and backup plan: a predictable folder layout plus at least two copies of every project.

Cloud notebooks remove most installation pain, but they have limits: sessions time out, files in the temporary session storage disappear, and you need a stable connection. Many students in smaller cities deal with patchy bandwidth, so the best approach is a hybrid: do light work locally, and use the cloud when you need more memory or a quick start.

Choosing between local Python and cloud notebooks

Factor Local install (Python/Miniconda + Jupyter) Google Colab Kaggle Notebooks
Internet needed while working No (after install) Yes, always Yes, always
Setup time 30-60 minutes 5 minutes 10 minutes (account plus phone verification may be asked)
Files persist Yes, on your disk Only if saved to Drive or GitHub Saved with the notebook; datasets are managed inside the platform
Works on a weak laptop Slow with large data Yes, work runs on Google’s servers Yes
Best for Offline practice, long-term projects Quick starts, shared notebooks Datasets and competitions

Free-tier resources, session lengths and GPU availability change from time to time, so check each platform’s current help pages instead of relying on a number you read in a blog post.

Free 2-Week CareerSwami Internship

Online, 14 days, with a free offer letter and a free completion certificate once you finish the work. Check with your college that it fits your requirement before you enrol.

Apply for the free internship

Step-by-step: installing Python and Jupyter on Windows, macOS or Linux

Step 1: Install Miniconda or Python

Miniconda is a good default because it handles environments cleanly. Download it from the official Anaconda/Miniconda site, choose the installer matching your operating system and 64-bit architecture, and accept the default options. If you prefer plain Python, download it from python.org and tick “Add Python to PATH” on Windows.

Step 2: Create a dedicated environment

Do not install everything into the base environment. Open Anaconda Prompt (Windows) or a terminal (macOS/Linux) and run the commands below. They are illustrative of the standard workflow; adjust names to suit you.

conda create -n ds-workspace python=3.11
conda activate ds-workspace
conda install pandas numpy matplotlib seaborn scikit-learn jupyterlab

Step 3: Launch JupyterLab and test it

jupyter lab

A browser tab should open. Create a notebook and run a cell that imports pandas and prints its version. If that works, the core of your setup is done.

Step 4: Export your environment

Save a record of what you installed so you can rebuild it after a crash or on a lab machine:

conda env export --from-history > environment.yml

If you use pip rather than conda, the equivalent is pip freeze > requirements.txt.

Setting up Google Colab so your work does not vanish

  1. Sign in at colab.research.google.com with a Google account. Use a personal account you will keep after graduation, not one you may lose.
  2. Create a new notebook and rename it immediately with a clear name such as day03_cleaning_titanic.ipynb.
  3. Mount Google Drive in the first cell so data and outputs are saved outside the temporary session:
    from google.colab import drive
    drive.mount('/content/drive')
    
  4. Keep a fixed project path in Drive, for example /content/drive/MyDrive/ds-workspace/, and read data from there.
  5. Install any extra library at the top of the notebook with !pip install package-name, and note it in your requirements file, since each new session starts clean.
  6. Use File, then Save a copy in GitHub, once a day so your notebook has an online history.

The folder structure for a data science workspace

A predictable layout saves hours. Use the same skeleton for every project, locally and in Drive:

ds-workspace/
  00_admin/            (offer letter, certificates, notes, plan)
  data/
    raw/               (original files, never edited)
    interim/           (partly cleaned)
    processed/         (final analysis-ready)
  notebooks/           (numbered: 01_explore, 02_clean, 03_model)
  src/                 (reusable .py functions)
  reports/
    figures/           (charts exported as PNG)
    summary.md         (findings in plain language)
  environment.yml
  README.md
  .gitignore

Rules that keep the structure useful

  • Never edit files in data/raw/. Write cleaned versions to interim/ or processed/.
  • Number notebooks so the order of work is obvious.
  • Use lowercase names, underscores and no spaces.
  • Add large data files to .gitignore so they are not pushed to GitHub; describe in the README where to download them.
  • Write a three-line README: what the project is, how to run it, and what the main result is.

Git and GitHub setup in ten minutes

  1. Install Git from the official site and check with git --version.
  2. Set your identity once:
    git config --global user.name "Your Name"
    git config --global user.email "you@example.com"
    
  3. Create a free GitHub account and a new repository named after your project.
  4. In your project folder run git init, then git add ., git commit -m "Initial structure", and connect the remote as GitHub shows you.
  5. Push with git push -u origin main. GitHub no longer accepts account passwords for command-line pushes, so use a personal access token or the browser sign-in flow Git offers.

A backup routine for student data science projects

Follow a simple 3-2-1 idea: three copies, on two kinds of storage, with one off your own device. For a student, that looks like this:

Frequency Action Where it goes
Every work session Save the notebook and commit with a clear message Local Git history
Daily Push commits to GitHub; sync the folder to Drive GitHub and Google Drive
Weekly (Sunday) Copy the whole ds-workspace folder to a pen drive or external disk Physical storage
After any environment change Re-export environment.yml Inside the repo
Monthly Open a backup copy and confirm it actually loads Any copy

A backup you have never tested is only a hope. The monthly restore check is the step most students skip.

Troubleshooting table for common data science setup errors

Symptom Likely cause Fix
'python' is not recognized (Windows) Python not on PATH Reinstall and tick “Add to PATH”, or use Anaconda Prompt
conda: command not found Terminal not initialised for conda Run conda init, then reopen the terminal
ModuleNotFoundError: No module named 'pandas' Package installed in a different environment than the notebook kernel Activate the right environment, install there, restart the kernel
Jupyter opens but the kernel keeps dying Out of memory or a broken package Load fewer rows, use chunksize, or move the work to Colab
FileNotFoundError on a CSV Wrong working directory or path Print os.getcwd() and use paths relative to the project root
Colab files missing after reconnect Temporary session storage was reset Save outputs to mounted Drive or GitHub
Drive mount fails in Colab Permission popup blocked or wrong account Allow pop-ups, sign in with the same account, and rerun
git push rejected or authentication failed Password used instead of token, or remote ahead of local Use a personal access token; run git pull first
Package install very slow or timing out Weak connection Download on a better connection, or use Colab where packages install on Google’s servers
UnicodeDecodeError reading a CSV Non-UTF-8 encoding Try encoding="latin-1" or "utf-8-sig"
Notebook diffs are huge in Git Outputs saved inside the notebook Clear outputs before committing

Worked illustrative example: one afternoon, one small project

This is a hypothetical scenario, not a record of a real student or a tested run. Suppose a student wants a first project analysing a public CSV of house prices.

  1. Create the skeleton for a project named house_prices using the folder layout above.
  2. Place the downloaded file in data/raw/ and never touch it again.
  3. In 01_explore.ipynb, load the file, check shape, missing values and data types, and write three observations in a Markdown cell.
  4. In 02_clean.ipynb, fill or drop missing values, save the result to data/processed/clean.csv, and note each decision.
  5. Commit with the message “Add exploration and cleaning notebooks” and push.
  6. Copy the folder to Drive. Sunday’s pen-drive copy covers the third location.

Even if the model is simple, the repository already shows an employer or evaluator a clear process: raw data preserved, decisions documented and results reproducible.

Maharaja Bir Bikram University students: fitting this workspace into your academic setup

Maharaja Bir Bikram University’s homepage carries a Vice-Chancellor’s message stating that the university was founded in 2015 and aims to become a digitally sound knowledge hub by upgrading its curriculum, teaching-learning and infrastructure. For a student building a self-managed workspace, that digital direction is a useful context, but it does not tell you what the university requires for projects, internships or data science coursework.

Details such as how project work is evaluated, whether a self-made workspace can support a college project, whether any online internship is recognised, what documents your department wants, and which software the labs permit are not covered by the homepage message. Rules can also differ between the university and the college where you study. Treat the following as questions to settle, not assumptions.

The practical advice here is to keep your workspace portable. Because lab computers may restrict installations, keeping your environment file, notebooks and README in GitHub and Drive means you can work on a college machine, a cybercafe computer or a phone browser and still keep one consistent project. Keep a copy of any offer letter or certificate in 00_admin/ so it is ready when your department asks for it.

Five steps to verify what applies to you

  1. Ask your department office or project coordinator, in writing, whether students may use personal laptops and cloud notebooks for project or training work.
  2. Request the current syllabus or scheme document for your programme and check whether data science tools or Python are named in any course.
  3. Ask whether your college or the university sets internship and project-report rules, and what format the report must follow.
  4. Find out from your lab in-charge whether Python, Jupyter or Git can be installed on lab computers, and whether internet access is available there.
  5. Check the university’s official notices at mbbuniversity.ac.in for any regulations or circulars, and save a dated copy of whatever you find.

A 14-day plan to use your workspace

If you want structured practice once the workspace works, the free two-week online internship at CareerSwami offers 26 tracks, a free offer letter and a free completion certificate after successful completion. Here is a way to pace 14 days of data science work in your new setup:

Days Focus Output saved in workspace
1-2 Install, folder structure, Git, Colab Working repo and environment.yml
3-4 Python basics and pandas loading and inspection Notebook 01
5-6 Cleaning and missing values Notebook 02 and processed data
7-8 Visualisation with matplotlib and seaborn Figures in reports/figures
9-11 Simple model with scikit-learn and evaluation Notebook 03
12-13 Write findings and README summary.md
14 Final backup, restore test, tidy repo Clean, shareable repository

Habits that keep a workspace healthy over months

  • Restart the kernel and run all cells before committing, so notebooks run from top to bottom.
  • Set a random seed wherever you split data or train models, so results can be repeated.
  • Keep one environment per project type, and delete ones you no longer use.
  • Never commit passwords, tokens or personal data; keep them out of notebooks.
  • Check the licence or terms of any dataset before publishing it.

Frequently Asked Questions

Can I do data science on a laptop with 4 GB RAM?

Yes, for learning-scale datasets. Use a lightweight setup, load only the columns you need, and move heavier work to Google Colab or Kaggle Notebooks, which run on remote servers.

Should I install Anaconda or Miniconda?

Miniconda is smaller and enough for most students because you install only what you need. Full Anaconda bundles many packages and takes more disk space, which matters on older machines.

Is Google Colab enough, or do I need a local install?

Colab is enough to start and to finish many projects. A local install helps when you want to work offline, keep files on your own disk, or practise a professional workflow with environments.

How do I stop losing files when Colab disconnects?

Mount Google Drive and save outputs there, and push notebooks to GitHub regularly. Files left only in the temporary session storage can disappear when the session resets.

What should I put in a GitHub repository for a data science project?

Include your notebooks, a README, the environment or requirements file, small sample data or download instructions, and key figures. Leave out large raw datasets, credentials and personal information.

How often should I back up my project folder?

Commit after every session, push daily, and make a full external copy weekly. Test restoring a backup monthly so you know it works.

Can my self-built workspace be used for a college project at MBB University?

That depends on your department’s project rules, which should be confirmed in writing with your coordinator. Keep notebooks, reports and logs organised so you can present them in whatever format the department asks for.

Why does my notebook say a module is missing when I already installed it?

The package was probably installed into a different environment from the one your notebook kernel uses. Activate the intended environment, install the package there, and restart the kernel.

Related Data Science guides

Ready to put this into practice?

Join the free two-week CareerSwami online internship in Data Science. The internship, the offer letter and the completion certificate are free.

Start your free 2-week internship

Web Stories

Scroll to Top