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.3.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file CRSPcleaner-0.0.3.tar.gz.

File metadata

  • Download URL: CRSPcleaner-0.0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.17.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for CRSPcleaner-0.0.3.tar.gz
Algorithm Hash digest
SHA256 85edab5f7182f5d4c103bf4c308a5fc7595bd023ab63c81dea63577a722bce47
MD5 d3c8edbcc63c49fa027a59bd78c025d2
BLAKE2b-256 dd1906ed9553e59f17c9b55abcf52c8b69f4b6e5737871d1b9597ea2ce351f5f

See more details on using hashes here.

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