Tuesday, December 12, 2017

Convert Date Format In Python | Datetime 'strftime()'| 2017

Python Datetime 'strftime()' | Convert Date to Text Format

01:00 - 03:30 | Get Stock Data With Yahoo Finance
03:31 - 06:04 | Convert Date Format To Text
06:05 - 06:43 | Slicing doesn't work due to keyword "&" "and"

Quick note:

I couldn't slice the dataframe based on column 'df['new_date']' because the keyword "and"
was not used when coding in Python IDLE.

In Sublime Text 3, I used "&" instead of "AND" and the slicing worked.

So, remember to use "and" instead of "&" when coding in Python IDLE.


No comments:

Post a Comment