CH 1 Data Transfer Between Files SQL Databases and DataFrames
CH 1 Data Transfer Between Files SQL Databases and DataFrames
and DataFrames
Introduction
• In the last chapter we have learnt about python pandas library in
which we have gone through dataframes and series.
• In this chapter we will see that how to change data into .CSV file and
how to import data in the program from a .CSV file. (.CSV file, is a
file of Comma Seperated Values from which data can be taken to a
dataframe and vice-versa).
If there os NaN
values then it is
stored in file as
empty string.
Here @ is used
as seperator
Data transfer between DataFrames and SQL Database
• In this chapter we will learn that how to transfer data from SQL table
with the help of sqlite3 library of python. sqlite3 comes inbuilt with
python. sqlite3 library deals with SQLite databases.
Data has
transferred to
database from
DataFrame.
Plotting from DataFrames