Skip to content

Commit b9ac28f

Browse files
committed
Updating README.md
1 parent 7757810 commit b9ac28f

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ df = wr.s3.read_parquet("s3://bucket/dataset/", dataset=True)
4343
# Retrieving the data from Amazon Athena
4444
df = wr.athena.read_sql_query("SELECT * FROM my_table", database="my_db")
4545

46-
# Getting Redshift connection (SQLAlchemy) from Glue Catalog Connections
47-
# Retrieving the data from Amazon Redshift Spectrum
46+
# Get Redshift connection (SQLAlchemy) from Glue Catalog and retrieving data from Redshift Spectrum
4847
engine = wr.catalog.get_engine("my-redshift-connection")
4948
df = wr.db.read_sql_query("SELECT * FROM external_schema.my_table", con=engine)
5049

@@ -58,16 +57,13 @@ wr.quicksight.create_athena_dataset(
5857
allowed_to_manage=["username"]
5958
)
6059

61-
# Getting MySQL connection (SQLAlchemy) from Glue Catalog Connections
62-
# Load the data into MySQL
60+
# Get MySQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into MySQL
6361
engine = wr.catalog.get_engine("my-mysql-connection")
64-
wr.db.to_sql(df, engine, schema="test", name="my_table")
62+
wr.db.to_sql(df, engine, schema="test", name="my_table")
6563

66-
# Getting PostgreSQL connection (SQLAlchemy) from Glue Catalog Connections
67-
# Load the data into PostgreSQL
64+
# Get PostgreSQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into PostgreSQL
6865
engine = wr.catalog.get_engine("my-postgresql-connection")
69-
wr.db.to_sql(df, engine, schema="test", name="my_table")
70-
66+
wr.db.to_sql(df, engine, schema="test", name="my_table")
7167
```
7268

7369
## [Read The Docs](https://aws-data-wrangler.readthedocs.io/)

docs/source/index.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Quick Start
2525
# Retrieving the data from Amazon Athena
2626
df = wr.athena.read_sql_query("SELECT * FROM my_table", database="my_db")
2727
28-
# Getting Redshift connection (SQLAlchemy) from Glue Catalog Connections
29-
# Retrieving the data from Amazon Redshift Spectrum
28+
# Get Redshift connection (SQLAlchemy) from Glue Catalog and retrieving data from Redshift Spectrum
3029
engine = wr.catalog.get_engine("my-redshift-connection")
3130
df = wr.db.read_sql_query("SELECT * FROM external_schema.my_table", con=engine)
3231
@@ -40,13 +39,11 @@ Quick Start
4039
allowed_to_manage=["username"]
4140
)
4241
43-
# Getting MySQL connection (SQLAlchemy) from Glue Catalog Connections
44-
# Load the data into MySQL
42+
# Get MySQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into MySQL
4543
engine = wr.catalog.get_engine("my-mysql-connection")
4644
wr.db.to_sql(df, engine, schema="test", name="my_table")
4745
48-
# Getting PostgreSQL connection (SQLAlchemy) from Glue Catalog Connections
49-
# Load the data into PostgreSQL
46+
# Get PostgreSQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into PostgreSQL
5047
engine = wr.catalog.get_engine("my-postgresql-connection")
5148
wr.db.to_sql(df, engine, schema="test", name="my_table")
5249

0 commit comments

Comments
 (0)