C1W1, Exercise 2: Syntax Errors with path

I’m having some issues related to the datawrangler registration of the csv data. I always get a syntax error for the path input. I’ve already tried linking to the bucket directly but no luck.

Hi @marc.ks: you may compare your code syntax according to the instructions below. I believe you missed the ‘…’ in your code. Check it out and please let us know.

Cheers!

res = wr.catalog.create_csv_table(
    database='...', # AWS Glue Catalog database name
    path='s3://{}/data/transformed/'.format(bucket), # S3 object path for the data
    table='reviews', # registered table name
    columns_types={
        'sentiment': 'int',        
        'review_body': 'string',
        'product_category': 'string'      
    },
    mode='overwrite',
    skip_header_line_count=1,
    sep=','    
)