OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Executing an SQL query on a Pandas dataset

  • Thread starter Thread starter Miguel Santos
  • Start date Start date
M

Miguel Santos

Guest
I have a Pandas dataset called df. How can I do:

Code:
df.query("select * from df")

There is a library called sqldf where you can execute SQL code in R, is there some library like sqldf for Python?
<p>I have a Pandas dataset called <code>df</code>. How can I do:</p>
<pre><code>df.query("select * from df")
</code></pre>
<p>There is a library called sqldf where you can execute SQL code in R, is there some library like sqldf for Python?</p>
 

Latest posts

S
Replies
0
Views
1
Safwan Aipuram
S
Top