[Side Project After Work] Big Data Analysis Certification Practical Exam (Type 1, 2, 3)
We guide non-majors and beginners to quickly obtain the Big Data Analysis Certification (Practical Exam)! Keep the theory light and the practice solidโfocusing on core points that are guaranteed to appear on the exam through past questions, without the need for complex background knowledge.
5,453 learners
Level Beginner
Course period 12 months

[Task type 2] What if there is time series data in data?
What if you have time series data among the columns in a classification or regression problem?
If you have time, please create a derived variable (a new column).
The code below is
Convert time series data to datetime data type.
I created new columns for year, month, and day.
And the existing datetime column was deleted.
ย
# datetime train['datetime'] = pd.to_datetime(train['datetime']) test['datetime'] = pd.to_datetime(test['datetime']) train['year'] = train['datetime'].dt.year train['month'] = train['datetime'].dt.month train['day'] = train['datetime'].dt.day test['year'] = test['datetime'].dt.year test['month'] = test['datetime'].dt.month test['day'] = test['datetime'].dt.day train = train.drop('datetime', axis=1) test = test.drop('datetime', axis=1)Let's try using them together. Let's also see how the model performance changes depending on whether or not it is used!
https://www.kaggle.com/code/agileteam/t2-6-bike-regressor
ย
ย




