File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pip install dataframe_sql
1313In this simple example, a DataFrame is read in from a csv and then using the query
1414function you can produce a new DataFrame from the sql query.
1515
16- ``` python
16+ ``` python
1717from pandas import read_csv
1818from dataframe_sql import register_temp_table, query
1919
Original file line number Diff line number Diff line change 99
1010def read_file (filename ):
1111 """Source the contents of a file"""
12- with open (os .path .join (os .path .dirname (__file__ ), filename )) as file :
12+ with open (os .path .join (os .path .dirname (__file__ ), filename ), encoding = 'utf-8' ) as \
13+ file :
1314 return file .read ()
1415
1516
1617setup (
1718 name = "dataframe_sql" ,
1819 version = get_version (),
1920 cmdclass = get_cmdclass (),
20- long_description = read_file ( "README.md" ) ,
21+ long_description = "Coming soon..." ,
2122 maintainer = "Zach Brookler" ,
2223 maintainer_email = "zachb1996@yahoo.com" ,
2324 description = "A package for querying dataframes using SQL" ,
You can’t perform that action at this time.
0 commit comments