Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
1 answer
104 views

When I'm running rolling() with swifter like below, I get a runtime error "init() got an unexpected keyword argument 'axis'". import numpy as np import pandas as pd import swifter t = np....
jad's user avatar
  • 87
0 votes
1 answer
401 views

I got installed Pandas 2.1.3 and Swifter 1.4.0. When I try import swifter I got: AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods' That's is going wrong? This version of ...
John Doe's user avatar
  • 402
0 votes
0 answers
48 views

I am currently working with .h5 files. The file contains several tables, which I have to process (row filtering and other basic stuff). Then, as one of the steps, I have to compute an integral for ...
1 vote
1 answer
273 views

I have an angular project that I want to deploy using swifter in swiftUI. I have tried the below code. import Foundation import Swifter class WebServer { let server = HttpServer() let path: ...
Eric's user avatar
  • 21
0 votes
1 answer
275 views

I use special server to substitute real url server responses (like Swifter). I send bunch of url path and new substitution url to launchEnvironment before app launching: func launchNewApp(...
0 votes
0 answers
112 views

I'm trying to implement a GP algorithm. This is my first time using numpy/pandas/swifter, so perhaps that explains a lot. I have a tree class (only relevant methods shown): FUNCTIONS = [np.add, np....
2 votes
1 answer
61 views

I'm trying to populate a database with django models and I've used the Swifter structure to parallelize a pandas apply, like this: df.swifter.force_parallel(enable=True).apply(lambda row: migrate(row),...
2 votes
0 answers
595 views

I have this function that I would like to apply to a large dataframe in parallel: from rdkit import Chem from rdkit.Chem.MolStandardize import rdMolStandardize from rdkit import RDLogger RDLogger....
Soerendip's user avatar
  • 9,305
0 votes
1 answer
54 views

I'm trying to find the distance from each point to the nearest shoreline. I have two data. Latitude, longitude information for each point About the shoreline ex) sample_Data (Point Data) = ...
0 votes
2 answers
811 views

Execution time of this code is too long. df.rolling(window=255).apply(myFunc) My dataframes shape is (500, 10000). 0 1 ... 9999 2021年11月01日 0.011111 0.054242 2021年11月04日 ...
NCall's user avatar
  • 143
1 vote
1 answer
59 views

I am currently building an app to display tweets from a twitter list. For some reason I am only appending tweets with media links, and skipping over tweets with just full text and no media. The JSON ...
0 votes
0 answers
263 views

I have the following code, which is basically a template of a blank app that Xcode created, and I'm using a library called Swifter (renamed here Swifter2 because of name conflict) where Im trying to ...
MM1's user avatar
  • 944
0 votes
1 answer
478 views

Recently, I came upon this useful library called swifter to speed up the processing of pandas series in python. I am sure it does a lot of vectorized processing and optimization under the hood, but I ...
Della's user avatar
  • 1,718
0 votes
1 answer
199 views

I am calculating a grouped row-wise moving average on a large data set. However, the process takes a too long time on a single thread. How can I efficiently speed up the process? Please find a ...
1 vote
0 answers
485 views

I am trying to compute the slope of a time series using Pandas with Switfer by doing this. My code: import os.path from os import listdir from os.path import isfile, join import numpy as np import ...
Mircea's user avatar
  • 2,039

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /