skip to Main Content

Postgresql – SQL to Pandas data filter equivalent

I have in my postgres database, the following table: CREATE TABLE trips(id int, lat_init double precision, lon_init double precision, lat_end double precision, lon_end double precision); INSERT INTO trips(id, lat_init, lon_init, lat_end, lon_end) VALUES (1,53.348060,-1.504068,53.360690,-1.457364), (2,53.427651,-1.355329,53.380441,-1.536918), (3,53.365660,-1.497837,53.363838,-1.388023), (4,53.380349,-1.460028,53.429298,-1.359443), (5,53.345526,-1.449195,53.407839,-1.501819); So that…

VIEW QUESTION
Back To Top
Search