365体育足球滚球比分

Dark mode beta

You’ve been asking for dark mode for years.
The is finally here.

Change your preferences365体育足球滚球比分 any time.

Questions tagged [python]

365体育足球滚球比分 Python is a multi-paradigm, dynamically typed, multipurpose programming language, designed to be quick (to learn, to use, and to understand), and to enforce a clean and uniform syntax. Two similar but incompatible versions of Python are commonly in use, Python 2.7 and 3.x. For version-specific Python questions, add the [python-2.7] or [python-3.x] tag. When using a Python variant or library (e.g. Jython, PyPy, Pandas, Numpy), please include it in the tags.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Extract the month from DateField in Django template

Want to extract the month and year from template template_1.html <form method = 'POST'> <input type ='month' name = 'searchmonth'> <input type = 'submit' value = '...
0
votes
0answers
3 views

speedup bandpass filtering along multiple channel eeg signal

I have 3 hours long 128 channel dataset sampled at 30Khz 128 x 20000000. I want to filter each channel signal in a specific frequency range say 0-12 Hz. How can I make this computation fast?
0
votes
0answers
2 views

trim string to special charater

I have some string in the data frame look like these 'Temp (°C)','Dew Point Temp (°C)','Rel Hum (%)','Wind Dir (10s deg)'. How can I trim the the part in the parenthesis and leave only "Temp', 'Dow ...
0
votes
0answers
5 views

Formating Subplots with Matplotlib - Legend, Titles, Space

I am trying to use subplots with my data but the result is ugly. Could you improve my code? For a reproducible example, I provide data. plot_data1.to_json() '{"(\'price\', \'cu2003\')":{"0.0":0.0,"...
0
votes
0answers
2 views

Cython magic command doesn't print in jupyter notebook

I am trying to use cython in Anaconda - jupyter notebook. I wrote the following code: %load_ext Cython %%cython print("Hello") And it's seems to interpetered without errors, but there is no output ...
0
votes
0answers
5 views

Parsing large (30GB) XML into CSV (with Python)

I need to parse a very large XML file of 30 GB into CSV. I have 15 GB of RAM available. I have been looking at some alternatives, for instance xmltodict, which has some sort of Streaming option, but ...
0
votes
0answers
2 views

Jenkins pipeline on local computer EnvironmentError

I am running a pipeline on my local machine with Jenkins and I keep getting a permission error when I try to update pip inside the Docker image. Strangely enough I have used in the past this ...
0
votes
0answers
6 views

Nested XML to CSV using Pandas, but open to Suggestions

I am working with a rather nested XML file that looks something like this: <?xml version="1.0" encoding="UTF-8"?> <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http:...
0
votes
0answers
5 views

Decorate a class with Python that prints the int variables of the decorated class

I'm studying for a python course and one of the exercise was to create a decorator for this class that returns every int variables.` @decoratoreDiClasse class MyClass: def __init__(self): ...
0
votes
0answers
3 views

How to extract words with exponents from a PDF (Python PDFminer)?

I have mathematical exponents followed by words in a PDF (like footnotes, but they are before the word). I would like to extract them without having to use XML. So far I'm using PDFminer, which gives ...
0
votes
0answers
9 views

Why am I getting exit code -1 without having any errors showing up in the IDE?

I'm currently getting into coding with Python and I wonder why, my program I wrote doesn't work as intended. Basically, I'm trying to make a password generator, but after the inputs, it just breaks. ...
0
votes
0answers
3 views

Error with model_evaluation_utils confusion matrix

I am working on this tutorial http://medium.com/@sarahcy/read-this-how-winners-create-life-changing-habits-that-actually-work-atomic-habits-by-james-ac7a3c6df911, I am currently trying to run the ...
0
votes
0answers
3 views

plotting very large eeg datasets python

I have 3 hours long 128 channel dataset sampled at 30Khz 128 x 20000000. What would be a good way and library to go about plotting this dataset? I did search through other similar questions but ...
0
votes
0answers
5 views

Skip inheritance order call in odoo

I have a class inherited from project.task named ProjectTask The class has a copy method that overrides the copy function from project.task it's named Task I need to run the base copy function from ...
0
votes
0answers
5 views

How to make a request inside a simple mitmproxy script?

Good day, I am currently trying to figure out a way to make non blocking requests inside a simple script of mitmproxy, but the documentation doesn't seem to be clear for me for the first look. I ...

15 30 50 per page
1
2 3 4 5
92189