Did you ever find yourself in the situation, where you wanted to process a larger DataFrame and the operations seem to hang up for more than a few seconds? Then you may want to try out one of pandas powerful features: The Categorical
dtype. In this lesson you’ll learn how to make use of the Categorical
dtype to save you time and space.
Seems like the to_datetime
method which was used to re-index the dataframe in the 5th video was able to parse the YYYY-MM-DD format on its own. Is this explicitly true, or does that method require data to be supplied in that order?
colors = pd.Series([
'periwinkle',
'mint green',
'burnt orange',
'periwinkle',
'burnt orange',
'rose',
'rose',
'mint green',
'rose',
'navy',
])
Become a Member to join the conversation.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4