pandas tag

pandas is a software library written for the Python programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series. It is free software released under the three-clause BSD license. The name is derived from the term "panel data", an econometrics term for data sets that include observations over multiple time periods for the same individuals. Its name is a play on the phrase "Python data analysis" itself. Wes McKinney started building what would become pandas at AQR Capital while he was a researcher there from 2007 to 2010.

Reference: WIKIPEDIA

271 questions


1 answers
36 views
0
Error in converting object type data to int type

The data I read in csv was read as an object type, and when I converted it to int type, I stumbled due to an error like the one in the attachment.I have looked into various methods, but I cannot solve...

2 years ago

2 answers
44 views
0
I want to manage 4D arrays with pandas.

Just like the title.When the L-dimensional vector x is generated using i, j, and k as parameters, I'd like to arrange the X vector components in the column and display the index as a combination of i,...

2 years ago

2 answers
60 views
0
One-dimensional error occurs in Pandas.

array([-1, 0, 1, 1, 1, 0, 2, 3, 4, 5, 6, 7, 8, 7, 0], [-1, 9, 10, 11, 12, 11, 13, 11, 14, 11, 15, 12, 16, 17, 18], [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...

2 years ago

2 answers
100 views
0
python SQLAlchemy & pandas read_sql_query Japanese Processing

Hello, nice to meet you.with mysql like function in sqlaichemy and pandas.read_sql_queryI'd like to select a keyword in Japanese, but how can I move it?If you select the keyword in English as below, y...


1 answers
55 views
0
I want to change the legend location in pandas.plot

I made a stock price graph using pandas.plot, but the legend is in a strange position.If it's matplotlib, I think I can adjust the position by specifying loc for legend as shown below, but if it's pan...

2 years ago

1 answers
39 views
0
How to Number Groups in Pandas

I would like to know how to add serial numbers for each combination of rows in Pandas dataframe.Specifically, I would like to create a column called Count for serial numbers for each combination of ID...

2 years ago

1 answers
45 views
0
How to Convert to an exe File Using Pandas

Use py2exe to create a file that uses pandas in the code.I compiled it into an exe file, but I can't run it.The exe file is created just in case, but the file size is unusually large.If you run it, yo...

2 years ago

3 answers
51 views
0
I can't import the installed external library.

I wanted to read and process csv in Python and do something like analysis.I installed Python 3.7 and pycharm.I read in the article that the loading of csv is pandas, so I tried to import it with panda...

2 years ago

2 answers
43 views
0
Only certain values cannot be retrieved from the data in increments of 0.1

I am trying to extract values from 0 to 0.9 in increments of 0.1 using pandas.I can't take out 0.6 for some reason.We have verified that 0.6 exists, but cannot retrieve it.aa=pd.DataFrame()for i in ra...

2 years ago

1 answers
39 views
0
I want to extract only certain lines from multiple CSVs in pandas and make it CSV.

It's been two weeks since I started using python.Here's what I want to do:p Read multiple CSVs using pandas and extract only the second line from each ②The line extracted from the first CSV is the fir...

2 years ago
« - 16 - »

© 2024 OneMinuteCode. All rights reserved.