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
117 views
0
It's a question to load Python data

I loaded raw data and did pd.read_csv() through Pandas.However, the data that was retrieved (500rows x 1 columns) was recognized like this. So I have two questions.First of all, how many times can we ...

2 years ago

4 answers
127 views
0
Pandas are asking how to filter

Hello, everyoneNatural language processing (using khaiiii) was performed through Python to derive the following results. import numpy as npimport pandas as pdfrom khaiii import KhaiiiApiapi = KhaiiiAp...

2 years ago

1 answers
42 views
0
Is there a command in Python Pandas to find the name of the maximum column after sorting?

Is there a command in Pandas to find the name of the maximum column after sorting?I can't find it, so I'm at a loss. index 0 March score index April score Please tell me how to find a subject whose gr...

2 years ago

1 answers
38 views
0
Please find a method to add one line to the Pandas.DataFrame

You want to create an empty DataFrame and write a code that adds one line at a time. Creating DataFrame succeeded, but when you try to add a row, an error occurs on the string side.How can I put diffe...

2 years ago

1 answers
48 views
0
Error sorting data from multiple Excel files with Pandas.

Hello! I'm an engineering student who's just learning Python.I tried to hang on while googling in my own way, but I can't even die.I think it's because I don't have the basics yet. I'd really apprecia...

2 years ago

1 answers
71 views
0
An error called UnicodeDecodeError occurred while coming to view the csv file in Pandas.

I'm sure I followed the example on the blog, but I don't know why there's an error with mine. I'm sure there's a 111.csv file, but I get this error. import pandas as pdasdf=c:\\Users\\KJY\\Desktop\\11...


1 answers
44 views
0
I have a question when I draw a graph using matplotlib in Python Pandas.

When creating a subplot by subtracting Fig.add_subplot The returned object is called AxesSubplot, but I don't understand the meaning of AxesSubplot even after searching.I'm not sure how it affects the...

2 years ago

1 answers
50 views
0
Python List -> How to Create Data Frames

en = ['a', 'b', 'c']ko = [Ga, Na, Da]df = pd.DataFrame (data = [[ko, en]], columns = ['Hangul', 'English'])dfI want to put a list in one column, but [] brackets go in together. Is there a way to get r...

2 years ago

2 answers
53 views
0
Python specific sheet price data resample

import panda as pdimport numpy as npimport datetimeimport sysfrom openpyxl import load_workbook sys.path.append(C:\\pytest)df= pd.read_excel('C:\\pytest\\dailyprice.xlsx', sheet_name='dprice')No_List ...

2 years ago

2 answers
37 views
0
Ask a simple code question about the dataFrame drop indexer is out-of-bounds

mydict = [{'inx':'i','a': 1, 'b': 2, 'c': 3, 'd': 4}, {'inx':'b','a': 100, 'b': 200, 'c': 300, 'd': 400}, {'inx':'k','a': 1000, 'b': 2000, 'c': 3000, 'd': 4000 }]df = pd.DataFrame(mydict)df.set_inde...

2 years ago
« - 21 - »

© 2024 OneMinuteCode. All rights reserved.