python tag

Python is a high-level, interpreted, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation.

Python is dynamically-typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly procedural), object-oriented and functional programming. It is often described as a "batteries included" language due to its comprehensive standard library.

Guido van Rossum began working on Python in the late 1980s as a successor to the ABC programming language and first released it in 1991 as Python 0.9.0. Python 2.0 was released in 2000 and introduced new features such as list comprehensions, cycle-detecting garbage collection, reference counting, and Unicode support. Python 3.0, released in 2008, was a major revision that is not completely backward-compatible with earlier versions. Python 2 was discontinued with version 2.7.18 in 2020.

Python consistently ranks as one of the most popular programming languages. It is used by many organizations and companies. Pixar, Disney, Instagram and the developers of the Linux Kernel are among many of it's high-profile users, which includes many developers of Free and Open source software.

Reference: WIKIPEDIA

4650 questions


3 answers
98 views
0
I want to read the csv file with numpy and create a dictionary using a tuple (which contains data from the csv file).

[Introduction] I am trying to create a dictionary using tuple in python, but an error occurred and I cannot create it.I'm sorry, but I'd appreciate it if you could tell me how to correct the error.Tha...

2 years ago

1 answers
100 views
0
image data set resize

I'd like to resize the numpy image data set.Specifically, I would like to resize the image data set with the shape of the numpy array (2000, 512, 512, 3) to the numpy array (2000, 256, 256, 3). ( 5512...


3 answers
56 views
0
If there is data in a list in one column, is there a way to divide each element in the list, increase the column, and make each element a dummy variable?

I'm a beginner at data analysis.I'm trying something like a simple competition for the first time.I didn't know what to start with, so I groped one by one, but I didn't know how to find the answer to ...

2 years ago

2 answers
72 views
0
Import mecab fails in google colab

After pip installing mecab-python3 on google colab, import mecab results in an error.1. Install mecab body: Successful! apt-get install mecab mecab-ipadic-utf8 libmecab-dev swig2. Install mecab-python...


1 answers
78 views
0
Why do I need Apache or nginx under Django?

When doing web development in Django, most of the information is configured to run Django on the so-called Apache or nginx web server.However, Django is a web server in itself, and I don't understand ...

2 years ago

1 answers
80 views
0
I want to display the half-width of the slash " "" correctly on the Windows jupyter notebook.

I can't get half-width of です on anaconda→ jupyter notebook in Windows 10.Also, the ! surprise mark will be purple and The specified path cannot be found.(Regarding the (9/27 Amendment: ↑ Surprise mark...


1 answers
30 views
0
Understanding Graphing in Python (for Statements)

I would like to create multiple dataFrames (22) as shown in the link below, and then have them write a graph.Multiple txt Phas in a Folder in PythonI want to load files all at once and store them in d...

2 years ago

1 answers
45 views
0
import error in sensorflow resnet

Resnet is a popular model for image recognition.When I tried to clone it from github and run it, I got the following error message:ImportError: No module named 'official'The source code includes the f...

2 years ago

1 answers
59 views
0
Understanding Pythorch Output

The program below identifies the handwritten numeric dataset MNIST into 10 classes.The number of correct answers and the identification rate are determined by the validate function, and we used a conf...


1 answers
129 views
0
I want to sort the words in the text by TF-IDF score

I want to list the nouns in the text file in order of tf-idf score.In Python, I would like to use MeCab (+natto) to analyze the text containing the tweets, and sort it out by scoring the tf-idf of the...

« - 187 - »

© 2024 OneMinuteCode. All rights reserved.