Python: Let’s learn SQL with FugueSQL ver. 1

Last Updated on December 24, 2021 by shibatau

I. What do you learn?

Let’s learn SQL in Python using FugueSQL

FugueSQL allows users to combine Python code and SQL commands. You can switch between Python and SQL within a Jupyter Notebook or a Python script.

II. Setting up for FfugueSQL

I have install fugue related modules according to the post:

Introducing FugueSQL — SQL for Pandas, Spark, and Dask DataFrames

pip install fugue[sql] 

pip install fugue[sql, spark]
pip install fugue[sql, dask]
pip install fugue[all]

I’m also required to install pyspark.

pip install pyspark  

III. Sample scripts

About shibatau

I was born and grown up in Kyoto. I studied western philosophy at the University and specialized in analytic philosophy, especially Ludwig Wittgenstein at the postgraduate school. I'm interested in new technology, especially machine learning and have been learning R language for two years and began to learn Python last summer. Listening toParamore, Sia, Amazarashi and MIyuki Nakajima. Favorite movies I've recently seen: "FREEHELD". Favorite actors and actresses: Anthony Hopkins, Denzel Washington, Ellen Page, Meryl Streep, Mia Wasikowska and Robert DeNiro. Favorite books: Fyodor Mikhailovich Dostoyevsky, "The Karamazov Brothers", Shinran, "Lamentations of Divergences". Favorite phrase: Salvation by Faith. Twitter: @shibatau

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.