Nineya
Home
Blog
Pandas pd.read_csv generating different pd.DataFrames with identical dataset
2025-02-10 03:43:19
6898
Code Sample, a copy-pastable example if possibleFor loading the csvfile:loadedFile = pd.read_csv(fileLocation)For gettin...
Pandas Pandas install includes hefty 29MB tests/ directory
2025-02-10 03:43:14
511
This is particularly relevant to people trying to minimize virtualenvs for AWS Lambda, where a max file size is imposed....
Pandas to_timedelta does not work properly with nanoseconds
2025-02-10 03:43:10
1938
Code Sample, a copy-pastable example if possible>>> index = pandas.to_timedelta([15e-7], unit="s")>...
Pandas Where operation with setting doesn't work any more
2025-02-10 03:43:05
2399
Code Sample, a copy-pastable example if possibledf2[df2 > 0] = -df2Problem descriptionIn the 10-minute tutorial this ...
Pandas DOC: Sphinx 1.7 compatability
2025-02-10 03:42:59
634
I thought I posted this when the beta was out, but apparently not. We have a bit of work to do.[ ] Remove vendored IPyth...
Pandas pandas.read_csv tries to convert "NaN" even when specifying dtype argument
2025-02-10 03:42:54
2626
Code Sample, a copy-pastable example if possiblefrom pandas.compat import StringIOimport pandas as pdt1 = ""&q...
Pandas groupby by levels behaves differently than in pandas 0.20
2025-02-10 03:42:48
2643
Code Sample, a copy-pastable example if possibleimport pandas as pdfrom numpy import nand = {(0, 'NNPDF31_nlo_as_0130_u...
Pandas Performance issue when using pivot_table with multiple columns out of which at least one is of type 'category'
2025-02-10 03:42:43
3942
Code Sampleimport pandas as pdimport numpy as npimport timen_rows = 1000n_categories = 250df = pd.DataFrame({'cat1': np....
Pandas Possibly unexpected behaviour when using apply and custom funcs
2025-02-10 03:42:37
2255
total=pd.DataFrame({"all_eternal":[1,2,1,1,0,1],"country_name":["United States","Germ...
Pandas Index Name vanishes when calling concat on two objects with different order indices
2025-02-10 03:42:32
1914
Using pd.concat results in index name disappearing when the index is not in the same order for DataFrames being concaten...
Pandas Adding Non-US holidays in pandas.tseries.holiday
2025-02-10 03:42:27
540
pandas.tseries.holiday has built-in only US holiday calendars. Is it possible to add other countries' holiday calendars ...
Pandas Is there any fast way to apply crossjoin or join not on two dataframes?
2025-02-10 03:42:21
566
I try to find way to apply cross join on pandas. Failed to find useful suggestion in pandas document.Like SELECT * FROM ...
Pandas non-64-bit Indexes?
2025-02-10 03:42:14
453
ser = pd.Series(np.arange(10, dtype=np.float128))>>> ser.dtypedtype('float128')>>> pd.Index(ser).dtype...
Pandas DataFrame groupby.first() is much slower than groupby.nth(0)
2025-02-10 03:42:09
2315
Code Sample, a copy-pastable example if possibleimport pandas as pd, numpy as npdf1 = pd.DataFrame({'c1':np.concatenate(...
Pandas No explicit way to generate a DatetimeIndex with a infinite decimals frequency
2025-02-10 03:42:04
1832
Link to the (unanswred) stackoverflow question which contains more details.Problem descriptionThe problem concerns the u...
Pandas read_csv parses header incorrectly
2025-02-10 03:41:58
1346
from io import StringIOcsv = r"""Physical\Flows.Solve,9,1,4,0,0,0,0,0,01,2,3,4,5,6,7,8,9,10""&q...
Pandas BUG: loc/iloc insertion inserts array, scalar expected
2025-02-10 03:41:52
3264
[1] df = pd.DataFrame([[1,2]])[2] df.iloc[0, 1:] = df.iloc[0, 1:].apply('{:+.2f}'.format)[3] df 0 10 1 [+2.00]...
Pandas Performance issue in Series with MultiIndex
2025-02-10 03:41:46
6503
Code SampleIn [81]: sd_series = pd.Series(range(1000), index=pd.MultiIndex.from_product([range(100), range(10)]))In [82]...
Pandas unique Datetime test failure (local, py2 only)
2025-02-10 03:41:41
3734
Can anyone else reproduce this? (python 2 only)$ pytest pandas/tests/test_algos.py::TestUnique::test_order_of_appearance...
Pandas alias for slice(None)
2025-02-10 03:41:34
1077
Having bunch of slice(None) in multilevel indexes (>=3 levels) looks pretty unreadable.Does it make sense to have an ...
上一页
下一页
1
2
3
4
5
6
7
…
2215
.