-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
General
- Operating System: Docker(python:3.12-slim)
- Python version: 3.12.5
- Pandas version: 2.2.2
- Pandarallel version: 1.6.5
Acknowledgement
- My issue is NOT present when using
pandaswithout alone (withoutpandarallel)
Bug description
Observed behavior
When I execute the program, I get "OSError: [Errno 28] No space left on device"
This is my code.
I referred to #127 and added MEMORY_FS_ROOT and JOBLIB_TEMP_FOLDER, but it doesn't work.
import pandas as pd
from pandarallel import pandarallel
import os
os.environ['MEMORY_FS_ROOT'] = "/app/tmp"
os.environ['JOBLIB_TEMP_FOLDER'] = '/app/tmp'
data = {'url': ['https://example.com/1', 'https://example.com/2'],
'label': [0, 1]}
table = pd.DataFrame(data)
pandarallel.initialize(progress_bar=False, use_memory_fs = False)
table['count.'] = table['url'].parallel_apply(lambda x: x.count('.')) # parallel_apply apply
table
df -h for my docker:
Filesystem Size Used Avail Use% Mounted on
overlay 1.8T 260G 1.5T 15% /
tmpfs 64M 0 64M 0% /dev
shm 64M 64M 0 100% /dev/shm
/dev/nvme1n1 1.8T 260G 1.5T 15% /app
tmpfs 63G 0 63G 0% /proc/asound
tmpfs 63G 0 63G 0% /proc/acpi
tmpfs 63G 0 63G 0% /proc/scsi
tmpfs 63G 0 63G 0% /sys/firmware
tmpfs 63G 0 63G 0% /sys/devices/virtual/powercap
I also try os.environ['JOBLIB_TEMP_FOLDER'] = '/tmp'
Anyone can help me?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels