Data ingestion is the process of obtaining and importing the data for the storage in the database. In this article, we explore different data ingestion techniques used to extract the data from the excel file in Python and compare their runtimes.
Let's suppose the excel file looks like this -
👁 data-ingestion-python
Using xlrd library
Using
xlrd module, one can retrieve information from a spreadsheet. For example, reading, writing or modifying the data can be done in Python. Also, user might have to go through various sheets and retrieve data based on some criteria or modify some rows and columns and do a lot of work.
Output:
👁 data-ingestion-xlrd
Using Pandas
Python data analysis library is a powerful tool used by data scientists. It helps in data ingestion and data exploration.
Output:
👁 data-ingestion-pandas1
Using dask dataframe
A Dask DataFrame is a large parallel DataFrame composed of many smaller Pandas DataFrames, split along the index.