The Startup
Published in

The Startup

Python — Time Series Data with Pandas

Numeric, categorical and time series data are the types of data that we commonly dealt with as part of exploratory data analysis. In this article I will go through some basic operations with time series data.

The notebook for this article can be found here.

Generating Time Series Data

# Generate data with time
ts = pd.Series(np.random.rand(100), index=pd.date_range(datetime.now(), periods=100))
ts2020-11-30 08:53:58.271878 0.566087
2020-12-01

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store