Skip to content

Commit

Permalink
Update user_guide_data_preparation_joins.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
mail4umar committed Oct 25, 2024
1 parent 469e530 commit 6f9611b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/source/user_guide_data_preparation_joins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,17 @@ Second, we have information on each airport.
:suppress:
import verticapy as vp
airports = vp.read_csv("/project/data/VerticaPy/docs/source/_static/website/examples/data/flights/airports.csv")
airports = vp.read_csv("/project/data/VerticaPy/docs/source/_static/website/examples/data/flights/airports.csv",
dtype = {
"IATA_CODE": "Varchar(20)",
"AIRPORT": "Varchar(156)",
"CITY": "Varchar(60)",
"STATE": "Varchar(20)",
"COUNTRY": "Varchar(20)",
"LATITUDE": "float",
"LONGITUDE": "float",
}
)
res = airports.head(100)
html_file = open("/project/data/VerticaPy/docs/figures/ug_dp_table_join_2.html", "w")
html_file.write(res._repr_html_())
Expand Down

0 comments on commit 6f9611b

Please sign in to comment.