This example illustrates how to change the privacy of a CARTO table.
Note: You'll need CARTO Account credentials to reproduce this example.
from cartoframes.auth import set_default_credentials
set_default_credentials('creds.json')
from cartoframes import update_privacy_table, describe_table
update_privacy_table('my_table', 'private')
describe_table('my_table')['privacy']
Success! Table updated correctly
'PRIVATE'
update_privacy_table('my_table', 'public')
describe_table('my_table')['privacy']
Success! Table updated correctly
'PUBLIC'