Read SQL Data Using Pandas And PyODBC

preview_player
Показать описание
In this session, we will learn how to read SQL data using Pandas and PYODBC. SQL and PANDAS both have a place in a functional data analysis tech stack, and today we’re going to look at how to use them both together most effectively. Today, we’re going to get into the specifics and show you how to pull the results of a SQL query directly into a pandas dataframe, how to do it efficiently, and how to keep a huge query from melting your local machine by managing chunk sizes.

We will learn PANDAS, READ_SQL method and it is used to read SQL query or database table into DataFrame and returns SQL table as a two-dimensional data structure with labeled axes.

Chapters:

00:00 - Introduction
01:10 - PyODBC
03:45 - Connection Between SQL & Python
06:58 - Reading Data From SQL Server Using Read_SQL Method

#analyticsschool #dataanalysis #analytics #dataanalyst #pandaspythontutorial #pandas #read_sql
#readsql
Рекомендации по теме
Комментарии
Автор

Great Video! It would be even better if you can upload the workbook.

allenhuang
Автор

I am a new sql learner, and feeling joyous to learn from this channel.
I have only simple enquiry.
I came across the varchar() function... What is the best practice when deciding to chose a number for that function given i am going to extract names for example...Can i put 1000 for instance so that i can be in the safe side or that may rise problems.
Thanks a lot.

hasanmougharbel
visit shbcf.ru