@@ -1072,12 +1072,14 @@ def preview(
1072
1072
Connection strings follow database URL formats and must also specify a table using the
1073
1073
`::table_name` suffix. Examples include:
1074
1074
1075
- - `"duckdb:///path/to/database.ddb::table_name"`
1076
- - `"sqlite:///path/to/database.db::table_name"`
1077
- - `"postgresql://user:password@localhost:5432/database::table_name"`
1078
- - `"mysql://user:password@localhost:3306/database::table_name"`
1079
- - `"bigquery://project/dataset::table_name"`
1080
- - `"snowflake://user:password@account/database/schema::table_name"`
1075
+ ```
1076
+ "duckdb:///path/to/database.ddb::table_name"
1077
+ "sqlite:///path/to/database.db::table_name"
1078
+ "postgresql://user:password@localhost:5432/database::table_name"
1079
+ "mysql://user:password@localhost:3306/database::table_name"
1080
+ "bigquery://project/dataset::table_name"
1081
+ "snowflake://user:password@account/database/schema::table_name"
1082
+ ```
1081
1083
1082
1084
When using connection strings, the Ibis library with the appropriate backend driver is required.
1083
1085
@@ -1150,8 +1152,8 @@ def preview(
1150
1152
1151
1153
### Working with CSV Files
1152
1154
1153
- The `preview()` function can directly accept CSV file paths, making it easy to preview data stored
1154
- in CSV files without manual loading:
1155
+ The `preview()` function can directly accept CSV file paths, making it easy to preview data
1156
+ stored in CSV files without manual loading:
1155
1157
1156
1158
```{python}
1157
1159
# Get a path to a CSV file from the package data
@@ -1209,7 +1211,6 @@ def preview(
1209
1211
For comprehensive documentation on supported connection string formats, error handling, and
1210
1212
installation requirements, see the [`connect_to_table()`](`pointblank.connect_to_table`)
1211
1213
function.
1212
- ```
1213
1214
"""
1214
1215
1215
1216
# Process input data to handle different data source types
@@ -2798,12 +2799,14 @@ class Validate:
2798
2799
Connection strings follow database URL formats and must also specify a table using the
2799
2800
`::table_name` suffix. Examples include:
2800
2801
2801
- - `"duckdb:///path/to/database.ddb::table_name"`
2802
- - `"sqlite:///path/to/database.db::table_name"`
2803
- - `"postgresql://user:password@localhost:5432/database::table_name"`
2804
- - `"mysql://user:password@localhost:3306/database::table_name"`
2805
- - `"bigquery://project/dataset::table_name"`
2806
- - `"snowflake://user:password@account/database/schema::table_name"`
2802
+ ```
2803
+ "duckdb:///path/to/database.ddb::table_name"
2804
+ "sqlite:///path/to/database.db::table_name"
2805
+ "postgresql://user:password@localhost:5432/database::table_name"
2806
+ "mysql://user:password@localhost:3306/database::table_name"
2807
+ "bigquery://project/dataset::table_name"
2808
+ "snowflake://user:password@account/database/schema::table_name"
2809
+ ```
2807
2810
2808
2811
When using connection strings, the Ibis library with the appropriate backend driver is required.
2809
2812
0 commit comments