You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the Info, Post data class to model the data
The class should include a repr method that can descripe the Post/Info data
And a contains method to check if the Post data contains some words in Summary
Use this class definition for database models in your program
Process the raw data to model the Post data into instances of the classes
Connect to the database and get Info and Post database tables data
Set up Info and Post database tables in a database, and store the data instances in them.
Database table data with these columns in each:
Info
id
followed
likes
total_posts title
url
ask_page_title
name
Post
id
date
summary
format
short_url
can_like
can_reply
type
info_id
Post table has the external key to the Info table. We can make JOIN query to these tables
Setup the DB connection code to Connect, Insert, Update and Query the tables
The text was updated successfully, but these errors were encountered:
The class should include a repr method that can descripe the Post/Info data
And a contains method to check if the Post data contains some words in Summary
Process the raw data to model the Post data into instances of the classes
Set up Info and Post database tables in a database, and store the data instances in them.
Database table data with these columns in each:
Info
Post
Post table has the external key to the Info table. We can make JOIN query to these tables
Setup the DB connection code to Connect, Insert, Update and Query the tables
The text was updated successfully, but these errors were encountered: