Skip to main content

bourdieuvectors is a library that allows to inferr bourdieuvectors. Usage see https://bourdieuvectors.com/.

Installation

Install this library using pip.

Supported Python Versions

Python >= 3.6

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install bourdieuvectors

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install bourdieuvectors

Example Usage

Extends a Pandas DataFrame with the vectors.

import pandas as pd
from bourdieuvectors import get_bourdieu_vector

data = pd.DataFrame({
    "cultural_event": ["american football"]
})

vector_df = data["cultural_event"].apply(get_bourdieu_vector).apply(pd.Series)
data_with_vectors = pd.concat([data, vector_df], axis=1)

print(data_with_vectors)
data_with_vectors.to_csv("bourdieuvectors_data.csv")

Metadata

Release files for bourdieuvectors 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bourdieuvectors 0.1.4
File Size Uploaded
bourdieuvectors-0.1.4.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bourdieuvectors 0.1.4
File Interpreter ABI Platform
bourdieuvectors-0.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 33.4 kB

Release files / bourdieuvectors-0.1.4.tar.gz

Download URL bourdieuvectors-0.1.4.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a3aeefdeb8af93859f6f8bf8e1e936c88a845e088d2f94e828f250cef7ea629b
BLAKE2b-256 checksum
How to use checksums
c9ee588b6da1fcaf8b8382a4f5691e156596e6f7046a30acf3290f5733eeb557
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.12

Release files / bourdieuvectors-0.1.4-py2.py3-none-any.whl

Download URL bourdieuvectors-0.1.4-py2.py3-none-any.whl
Size 16.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
836f6f8ca5e8557ee4b24085fd5d02406499ee66e57dcd683f097f8bf7a73cf6
BLAKE2b-256 checksum
How to use checksums
5277787469213f6dafdaaef3ed55ddaa0e35758056b9e78c91844a41919abbdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page