Skip to main content

Cleans a CRSP .csv database and returns it as a Pandas Dataframe

Project description

CRSPcleaner

This programme takes in a .csv format CRSP database file and returns a cleaned version as a pandas dataframe.

Installation

Run the following to install:

pip install CRSPcleaner

Usage

Factors can be extracted in monthly ('m') and annual ('a') frequencies. The default is monthly.

from CRSPcleaner import cleanCRSP

crsp_df = cleanCRSP()

# With CIK identifiers:
crsp_df = cleanCRSP(withCIKonly=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CRSPcleaner-0.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

CRSPcleaner-0.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page