This is a very good tutorial for getting pandas and SQL together. The batch file, notifications, and the task scheduling are a great bonus that you've given us!
@ProgrammingIsFunn3 жыл бұрын
Thanks Raymond and Glad to hear.
@rajintawsif40344 күн бұрын
Wow
@mukeshmishra30262 жыл бұрын
the wonderful session, Thx friend for making so clear short & explanation for server to excel data
@rajkumarrajan8059 Жыл бұрын
Simple and Quick. Excellent
@qasimawan3568 Жыл бұрын
I have been searching something like this for a week now and I've finally come across it. Many, many thanks for this tutorial. Your efforts for this knowledge is truly appreciated. Thanks again, I subbed!
@ProgrammingIsFunn Жыл бұрын
I am glad to hear
@rohitmahato5423 жыл бұрын
thank you so much...you are sharing your great knowledge for free....video was very clear....and helpful too
@gemyforson87103 жыл бұрын
thank you so much for the great sharing knowledge. It is very useful.
@nikowabantu6216Ай бұрын
Very helpful.
@arunkumarkesavan60775 ай бұрын
Crystal clear bro, please post many videos 🎉
@ProgrammingIsFunn5 ай бұрын
Sure, tell me what you are looking.
@arunkumarkesavan60774 ай бұрын
@@ProgrammingIsFunn , Can you also post a video like downloading the files from the sharepoint, data cleansing and uploading the output files into the sharepoint again !!!
@gcmahajan15 ай бұрын
Great..
@sondrad18392 жыл бұрын
Best video I’ve seen on this subject for us newbies. Thank you ! Now I need to know how to send parameters to call several sql server views and export to 1 excel file different sheets for a particular set of data….eg: export customer info, order info, manufacturing info for a particular order number.
@AnuragSingh-vv3qv2 жыл бұрын
Thanks very very informative!
@jobdossantosleite11602 жыл бұрын
Very Good my friend
@dss18713 жыл бұрын
Great 👍👍👍👍
@ProgrammingIsFunn3 жыл бұрын
Thank you! Cheers!
@vj_singh3 жыл бұрын
Nice
@OliverShey3 жыл бұрын
Very useful
@ProgrammingIsFunn3 жыл бұрын
Glad you think so!
@tarak98162 жыл бұрын
exporting data to XL sheet or SQL and MYSQL to which format it is easy to convert?
@vishalsharda75082 жыл бұрын
Thanks a lot bro. 👍👍 Subscribed Ur channel for more solutions
@kofimensah65662 жыл бұрын
Great video!!! Are you able to do a tutorial that shows how to link the cron job to a slack channel i.e. schedule runs and post the excel file to a slack bot?
@MohammedGS-qm7ru2 жыл бұрын
Nice and helpful, your efforts well appreciated. Is it possible to automate the database to an online storage or folder? I will really appreciate your tips on this. Many thanks 🙏
@rashmijain3022 жыл бұрын
Thanks for the video. Can we take real time data from excel to sql using python? Also, can we use Apache druid for near to real time data?
@biradarpraveen76432 жыл бұрын
You are the best. Can you please tell me how to send an email to the user (via outlook) with the excel attachment instead of creating desktop notification
@keeplearning9897 Жыл бұрын
This is very easy using Python to send an email.
@moviesworld764 Жыл бұрын
Hi Bro. Do you know the above process. I am also need it.
@neemkarolimaharajji-j6t Жыл бұрын
@programmingisfun Please make a video on How to count rows of multiple tables in pgadmin server of different database through python code because it takes lot of time to count one by one on daily basis. Is there any shortcut code by using python. Please help me in this.
@SyedMohammedOmerFarooq2 жыл бұрын
Very good tutorial Can you please made tutorial in which instead of desktop notification an email is sent to the user.
@keeplearning9897 Жыл бұрын
it's easy.
@sunilkumarchavan925 Жыл бұрын
I would thanks for the so much important video you have created for us . My query is below if you answer this for me is very helpful . I have jump host server to connect/login database server from my local machine and want to supply run time value like Database server IP and database name. And in sql query need to pass 1 value like account ID while runtime as well ..?
@AbhisheakSaraswat Жыл бұрын
You can integrate excel on runtime to get the input
@ProgrammingIsFunn Жыл бұрын
Hi, you can take input from user at run time, using Python input box or you can integrate excel for input.
@sunilkumarchavan925 Жыл бұрын
@@ProgrammingIsFunn If you have Any sample code or any youtube video link that would be the great
@JungoOff5 күн бұрын
what if i don't have a driver, just ['SQL Server', 'SQL Server Native Client 10.0']?
@abhisheksaraswat67535 күн бұрын
If you are not using driver then you can not establish the connection between Python and SQL.
@ProgrammingIsFunn5 күн бұрын
Yes, It is mandatory to invoke sql driver.
@AbdulRahmanMohammed-cc6xv5 ай бұрын
After reading csv file in jupyter notebook. How to connect with sql server and upload data into database table.
hie @ProgrammingIsFunn I have code which read data from excel and create a table in ms sql , so in that case how to keep check on duplicate entries in ms sql .Please help
@keeplearning9897 Жыл бұрын
🙏
@karthikb.s.k.44863 жыл бұрын
What is the laptop configuration are you usinh for windows it looks fast .what is the theme for vs code used.Nice session
@ProgrammingIsFunn3 жыл бұрын
Karthik, I am using T490 Lenovo thinkpad laptop with I7 and SSD.
@kavinkumarloganathan3951 Жыл бұрын
Please let me know whether the task will also run when the system is in off or it will run only when system is in on
@keeplearning9897 Жыл бұрын
It will run only when system is on.
@maria-ut6xm9 ай бұрын
I get "Invalid Port number" error.. would you know how to fix it? I am using Idera Rapid SQL
@asvlogs22882 жыл бұрын
To automate through task scheduler, do we need to keep our system and python on all the time ?
@keeplearning9897 Жыл бұрын
Yes.
@vladimir77592 жыл бұрын
Hi, please tell me how to change the encoding to cp1251, when I open a file in excel I have unknown characters.
@keeplearning9897 Жыл бұрын
you can use this iso-8859-1
@isshikalia2 жыл бұрын
can we add more rows into an existing excel file?
@keeplearning9897 Жыл бұрын
Yes we can, using xlwings we can add rows.
@ADITYAKUMAR-gt5vl Жыл бұрын
i was trying to connect using your code , but getting error UserWarning: pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy. df = pd.read_sql(sql=sqlQuery, con=connection) ?
@ProgrammingIsFunn Жыл бұрын
Ignore that warning. To ignore any warning you can use below script. import warnings warnings.filterwarning(‘ignore’) In future if we will get any new release might be we have to change our approach using sqlAlchemy
@nareshchoudhary97742 жыл бұрын
Can we do the inverse of it ? I mean can we import multiple Excel files from local disc to sql server using python ?? Is it possible?
@hanumishra55905 ай бұрын
Yesss ... U can update, insert, delete,alter the table using python
@kiranpatil4968 Жыл бұрын
Please create etl testing automation framework using pytest
@sathyamoorthy23083 жыл бұрын
How can we write a sql query output to a different sheet in a same excel ?
@ProgrammingIsFunn3 жыл бұрын
Very simple 😊. import pandas as pd writer = pd.ExcelWriter("YourWorkbookName.xlsx", engine = 'xlsxwriter') # here, you can store your query's result data df = pd.read_sql(sql = sqlQuery, con = connection) df.to_excel(writer, sheet_name = 'HereYourSheetName') writer.save() writer.close() and for more info watch this tutorial..... kzbin.info/www/bejne/hmnHoXprltd-j5I
@dishnidivya Жыл бұрын
can we use this in xampp file?
@ProgrammingIsFunn Жыл бұрын
Yeah you can try the same, but we never ever try this in xampp.
@xst-k6 Жыл бұрын
Notification showed 1620 rows when there were 1621. Remember to display df.shape[0] after incrementing by 1 as it starts from 0.
@rajintawsif40344 күн бұрын
Is it ?
@ee60492 жыл бұрын
how to create python file sir......\\desktop\\python..... something
@vishwarajk310 ай бұрын
I have a sql query which i need to run daily . Sql Query= SELECT * FROM be_dw where date_key ='1-02-2024.' But i need to take the date_key automatically as per today's date instead of manually entering and changing the date. How can i do that ?
@ProgrammingIsFunn10 ай бұрын
You can take the input at run time from the user, or you can create a mapping file where use can set the input data before executing the script.
@vishwarajk310 ай бұрын
@@ProgrammingIsFunn Since i working on automating the process,so input from the user won't help. Mapping the file to get the date, I didn't get that ? Also,isn't there any SQL function or logic to get the current date? Edit : I am a beginner. 🙂
@ProgrammingIsFunn10 ай бұрын
@@vishwarajk3 To get the current date and time, you can use getdate() function of sql. # Get the current date and time select getdate() -- It will give you date and time # only for date select format(getdate(), 'dd/mmm/yyyy')
@dipaklanjewar45562 жыл бұрын
How to compare two tables
@shubhangisharma62023 жыл бұрын
What is userprofile
@ProgrammingIsFunn3 жыл бұрын
userprofile means: c:\users\SystemName try to run the below code for better understanding. import os print(os.environ["userprofile"])
@netnitin Жыл бұрын
How to do it for Mysql using Python?
@ProgrammingIsFunn Жыл бұрын
Using mysql.connector we can establish the connection between python and mysql
@kirubababu71272 жыл бұрын
Can't connect
@chinmaymule73153 жыл бұрын
Why its not working for MYSQL??
@ProgrammingIsFunn3 жыл бұрын
For mysql you have to import mysql.connector library and in this video you will find only for sql server.
@nicolaconte38873 жыл бұрын
And guys
@endowbonapen70287 ай бұрын
('28000', '[28000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user \'DESKTOP-76JM819\\endow\'. (18456) (SQLDriverConnect); [28000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot open database "Coba" requested by the login. The login failed. (4060); [28000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user \'DESKTOP-76JM819\\endow\'. (18456); [28000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot open database "Coba" requested by the login. The login failed. (4060)') i have problem, can anyone explaine?