Chapter 12eng Data Transfer Between Files SQL Databases and DataFrames
Chapter 12eng Data Transfer Between Files SQL Databases and DataFrames
and DataFrames
Based on CBSE Curriculum
Class -11
By-
Neha Tyagi
PGT CS
KV 5 Jaipur II Shift
Jaipur Region
• 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).
Here @ is used
as seperator
• 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.
www.pythontrends.wordpress.com