The World’s Largest Online Community for Developers
Newest 'python' Questions - LavOzs.Com
Questions tagged [python]
Python is a multi-paradigm, dynamically typed, multipurpose programming language, designed to be quick (to learn, to use, and to understand), and to enforce a clean and uniform syntax. Two similar but incompatible versions of Python are commonly in use, Python 2.7 and 3.x. For version-specific Python questions, add the [python-2.7] or [python-3.x] tag. When using a Python variant or library (e.g. Jython, PyPy, Pandas, Numpy), please include it in the tags.
I have two different lists, one consists of list of random 12 dates on which I want to see sales
the second one consist of Unique Product ID the vendor sells.
I want to copy these dates in multiples ...
I have a dataframe with a unique identifier, date, and integer fields. I'd like to create new columns that group by the unique id and have counts of each integer field bucketed by the date.
If I have ...
I want to print from a sequence randomly and print a different choice each time
word = ("Python", "Apple", "Mountain", "Star Trek")
correct = random.choice(word)
I'm trying to learn how formsets work. Essentially I have a form 'Recording' and a form 'geo'. I want to have both forms render on a page, and submit with a single button. This is because depending on ...
I am fairly new to python and coding in general.
I have a big data file that provides daily data for the period 2011-2018 for a number of stock tickers (300~).
The data is a .csv file with circa 150k ...