This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Plotting a categorical variable | |
---------------------------------- | |
`df` is a pandas dataframe with a timeseries index. | |
`df` has a column `categorical` of dtype object, strings and nans, which is a categorical variable representing events | |
---------------------------------- | |
>>> print df[:5] | |
categorical |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define EGL_EGLEXT_PROTOTYPES | |
#define GL_GLEXT_PROTOTYPES | |
#include <EGL/egl.h> | |
#include <EGL/eglext.h> | |
#include <errno.h> | |
#include <gbm.h> | |
#include <GL/gl.h> | |
#include <xf86drm.h> | |
#include <xf86drmMode.h> | |
#include <stdlib.h> |