{"repo":"tidy-finance/py-tidyfinance","free":true,"listed":false,"github":"https://github.com/tidy-finance/py-tidyfinance","clone":"git clone https://github.com/tidy-finance/py-tidyfinance.git","description":"Python package with helper functions for developers and researchers familiar with Tidy Finance","language":"Python","stars":17,"topics":["finance","python"],"license":"MIT","category":"trading","readme_excerpt":"tidyfinance Helper functions for empirical research in financial economics, addressing a variety of topics covered in Scheuch, Voigt, Weiss, and Frey (2024). The package is designed to provide shortcuts for issues extensively discussed in the book, facilitating easier application of its concepts. For more information and resources related to the book, visit tidy-finance.org/python. Installation You can install the release version from PyPI: You can install the development version from GitHub: Choosing a Data Frame Backend The package is implemented in polars internally. By default, the public tidyfinance API still returns pandas data frames for backward compatibility. If you prefer polars — as used throughout the book — switch the global backend with set backend() : The setting applies to the whole public API, so any data-bearing function honors it. Pandas data frames are also accepted as input regardless of the active backend (they are converted to polars internally), so results from one call can be fed straight into the next. Under the polars backend there is no conversion overhead at all, since polars is the native representation. You can check the current setting with tf.get backend() . Note: The default backend is currently pandas , but we expect to switch the default to polars from version 1.0.0 onwards. To keep your code working across that change, set the backend explicitly via tf.set backend(...) . Download Open Source Data The main functionality of the tidyfinance p","default_branch":null,"files":null,"tree":[],"storefront":"/r/tidy-finance","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tidy-finance/py-tidyfinance/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}