Questions tagged [python-pipelines]
6 questions
2
votes
0 answers
Error while unpickle custom pipeline Ml model in python
I create a custom Pipeline in python. I have used the sklearn pipeline and it seems running successfully.
But When I save the model as a pickle file and want to load that saved pickle file in a different notebook it shows an error.
import pandas as…

Safayet Karim
- 53
- 7
1
vote
1 answer
Send EOF with to process with subprocess python
I am doing some CTF for fun and I got stuck, I run binary with python script with subprocessing, The problem is the script need to send to the read function in the binary empty input to not change the current value (if there is a way to make the…

nadav levin
- 81
- 8
1
vote
0 answers
Piping a function "on the right" in Python? Is there an operator for this?
I admit this is a niggle, but I want to implement or find a pipe operator in Python
I work in data science, and a lot of the codebase looks like this:
# raw_data is a pandas dataframe
data_clean = (data_raw
.pipe(fill_nulls,…

MYK
- 1,988
- 7
- 30
0
votes
2 answers
Python 3.4 ImportError: No module named 'typing' when importing requests
I've been trying to install different versions compatible for the request module for Python 3.4 (I know the python version is outdated, but is the one available for the OS I'm currently using.)
Using the pip install requests==2.19.1 command worked…

Daniela Luna
- 17
- 5
0
votes
0 answers
How to create custom Pipeline in Python?
How can I create a custom Pipeline in python? I tried with sklearn pipeline but seems it not running successfully. Mostly I need my pre-process as a customize pipeline with a logistics model.
import pandas as pd
import numpy as np
from…

Safayet Karim
- 53
- 7
-1
votes
1 answer
Python pipelines duplicate checker, using "raise DropItem" but how do we make it pipe down?
raise DropItem below is creating too much noise and outputting complete objects
Question: How can we make it output just the string? Or is there another Way to drop items in pipelines?
the result is now a whole object with all its values and…

snh_nl
- 2,877
- 6
- 32
- 62