Nineya
Home
Blog
Pandas Crash in tslib with certain timezone objects
2025-02-10 03:03:27
2100
Code Sample, a copy-pastable example if possibleimport win32timezoneimport pywintypesimport pandasd = pywintypes.TimeTyp...
Pandas read_csv skiprows vs. read_excel
2025-02-10 03:03:21
1459
As I see pandas.read_csv() and pandas.read_excel() handle differently the skiprows argument. I have the same data in a C...
Pandas adding columns to a dataframe fills in with null values
2025-02-10 03:03:16
3359
Should adding dataframes yield a dataframe with all the columns of the added dataframes?First I simply create two datafr...
Pandas pandas.Timestamp with time only string doesn't work
2025-02-10 03:03:10
2998
Code Sample, a copy-pastable example if possibleIn [147]: pandas.Timestamp('4 pm')--------------------------------------...
Pandas to_dict doesn't convert np.int64 to python integers
2025-02-10 03:03:05
3137
Code Sample, a copy-pastable example if possible# Your code heredata = [{'id': 11, 'text': 'Osv1wbZoL'}, {'id': 0...
Pandas open h5 file error
2025-02-10 03:03:00
629
Code Sample, a copy-pastable example if possible# Your code hereimport h5py as h5f = h5.File('test.h5', 'w')f.create_dat...
Pandas Subsetting dataframe w/ Multiindex does not preserve queried order
2025-02-10 03:02:54
2132
Problem descriptionI would like to subset the data frame with a indexer. When using MultiIndex, the results are not fol...
Pandas DOC: styler warnings in doc-build
2025-02-10 03:02:49
1597
https://travis-ci.org/pandas-dev/pandas/jobs/222779268/tmp/doc/source/generated/pandas.io.formats.style.Styler.rst:74: W...
Pandas Renaming MultiIndex values does not work at all (doesn't update values, or raise an exception)
2025-02-10 03:02:44
2245
Code Sample, a copy-pastable example if possibledf = pd.DataFrame({'First': ['A', 'A', 'A', 'B', 'B'], 'Last': ['C', 'D'...
Pandas groupby fails when elements are lists
2025-02-10 03:02:39
618
import pandas as pddf = pd.DataFrame ({'a' : [[1,2,3]]})g = df.groupby ('a')g.groupsTypeError: unhashable type: 'list'**...
Pandas How can np.nan be the representation of None when np.nan evaluates to True
2025-02-10 03:02:34
622
In reference to @jreback 's answer on this related issue, it seems a bit counter-intuitive for me that np.nan evaluates ...
Pandas Fast way to exclude columns
2025-02-10 03:02:30
559
It would be great to be able to exclude/slice columns like you can with np arrays.df = pd.DataFrame(np.random.rand(4,4),...
Pandas Inconsistent handling of nans in min/max functions
2025-02-10 03:02:24
1802
Code SampleIn [49]: min(pd.Series([pd.np.nan, 1, 2, pd.np.nan]))Out[49]: nanIn [50]: min(pd.Series([1, 2, pd.np.nan]))Ou...
Pandas ENH: support pendulum objects
2025-02-10 03:02:19
9506
import pendulumimport pandaspandas.date_range(start=pendulum.now(), end=pendulum.tomorrow())[1] 56829 segmentation fa...
Pandas groupby.transform() fails when performed on column of numpy arrays
2025-02-10 03:02:14
2195
Code Sample, a copy-pastable example if possibledf = pd.DataFrame.from_dict({"A":[1, 1, 2, 2], ...
Pandas Typo in documentation of pandas.DatetimeIndex.freq
2025-02-10 03:02:09
556
Just a small typo at http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DatetimeIndex.freq.html#pandas.Datetim...
Pandas read_excel skiprows
2025-02-10 03:02:03
1947
Code Sample, a copy-pastable example if possibleskip = [0] + [i for i in range(3, 81)]df = pd.read_excel('excel_file.xls...
Pandas Setting values in empty multi-dimensional dataframe with multi-dimensional data?
2025-02-10 03:01:58
6653
I am trying to find a clean, concise way of setting the values of a multi-dimensional, multi-indexed dataframe, using da...
Pandas Resetting Index on slice
2025-02-10 03:01:53
6050
Code Sample, a copy-pastable example if possible# Your code heredf = data_index[data_index['ntorsions'] == 2]Problem des...
Pandas Default iteration behavior of the DataFrame
2025-02-10 03:01:47
2914
Code Sample, a copy-pastable example if possiblefor x in my_data_frame: print rep(x)Problem descriptionThe current be...
上一页
下一页
1
…
54
55
56
57
58
…
2246
.