Contents
Data Sources and Data Formats
Data comes in many shapes and from many places. Understanding the types and formats helps you choose the right tools and avoid surprises. This topic explains the main kinds of data and where you can find it.
Structured, Semi-Structured, and Unstructured Data
Structured data is neatly organized in rows and columns, like a spreadsheet or a database table. It is easy to search and analyze. Customer records and sales tables are common examples.
Semi-structured data has some organization but does not fit neatly into a table. JSON and XML files are good examples. They use tags or keys to label the data, but the layout can vary.
Unstructured data has no fixed format. This includes text, images, audio, and video. It makes up most of the data in the world, and it needs special methods, like natural language processing or computer vision, to analyze.
Common Data Formats: CSV, JSON, and Excel
CSV stands for Comma Separated Values. It is a simple text file where each line is a row. It is light, easy to share, and works with almost every tool.
JSON stores data as key and value pairs. It is the standard format for web APIs. Excel files store tables too, but they may contain extra things like multiple sheets, formulas, and formatting.
df_csv = pd.read_csv("data.csv")
df_json = pd.read_json("data.json")
df_excel = pd.read_excel("data.xlsx")Pandas can read all three with one line of code. Pick the format based on your need. CSV is great for simple tables, JSON for nested data, and Excel for files shared with business teams.
Open Datasets and Where to Find Them
Open datasets are free data you can use for learning and projects. They are a great way to practice without needing company data. Many cover topics like health, sports, finance, and transport.
Popular places to find them include Kaggle, the UCI Machine Learning Repository, Google Dataset Search, and government portals such as data.gov.in. Many libraries, like Seaborn and Scikit-learn, also include small built-in datasets.
When you pick a dataset, read its description and license. Check the size, the columns, and how recent it is. A well-documented dataset saves a lot of time and gives you a good start.
Checking Data Quality at the Source
It is smart to check data quality as early as possible. Look at whether the data is complete, accurate, consistent, and up to date. Problems found at the source are easier to fix than problems found later.
Ask simple questions. Are there many empty fields? Do the same items appear with different spellings? Are the dates and units consistent? A quick scan can reveal many issues.
If you find serious problems, talk to the data owner. They may be able to fix the source or explain why the data looks the way it does. Good communication here prevents wrong assumptions in your analysis.
Data Science Lifecycle Tutorial
Wesline Rinisha








